diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-12-26 23:29:35 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-12-26 23:29:35 +0000 |
commit | 04e4d9a0b3ef5653c816a309866e54a3913fa585 (patch) | |
tree | 5db6bac0bd224accaa6028b0c3f6306a4dcf63d6 /lib | |
parent | f277124a0f78327f6a973518c073d6a9a458326b (diff) |
Dmitry Kurochkin mentioned a flaw
(http://curl.haxx.se/mail/lib-2007-12/0252.html) in detect_proxy() which
failed to set the bits.proxy variable properly when an environment variable
told libcurl to use a http proxy.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3242,7 +3242,7 @@ static char *detect_proxy(struct connectdata *conn) if(conn->proxytype == CURLPROXY_HTTP) { /* force this connection's protocol to become HTTP */ conn->protocol = PROT_HTTP | bits; - conn->bits.httpproxy = TRUE; + conn->bits.proxy = conn->bits.httpproxy = TRUE; } } } /* if(!nope) - it wasn't specified non-proxy */ |