File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ const BUFFER_LEN = 32 * 1024;
4242const MAX_HEADER_LINE_LEN = 4096 ;
4343
4444pub const ProxyType = enum {
45- simple ,
45+ forward ,
4646 connect ,
4747};
4848
@@ -202,7 +202,7 @@ pub const Client = struct {
202202
203203 fn isSimpleProxy (self : * const Client ) bool {
204204 const proxy_type = self .proxy_type orelse return false ;
205- return proxy_type == .simple ;
205+ return proxy_type == .forward ;
206206 }
207207};
208208
Original file line number Diff line number Diff line change @@ -226,10 +226,10 @@ const Command = struct {
226226 \\--http_proxy The HTTP proxy to use for all HTTP requests.
227227 \\ Defaults to none.
228228 \\
229- \\--proxy_type The type of proxy: connect, simple .
229+ \\--proxy_type The type of proxy: connect, forward .
230230 \\ 'connect' creates a tunnel through the proxy via
231231 \\ and initial CONNECT request.
232- \\ 'simple ' sends the full URL in the request target
232+ \\ 'forward ' sends the full URL in the request target
233233 \\ and expects the proxy to MITM the request.
234234 \\ Defaults to connect when --http_proxy is set.
235235 \\
You can’t perform that action at this time.
0 commit comments