aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-12-22 15:04:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-12-22 15:04:59 +0000
commitbedc61ac45394eec850edfdae43a55c8586c3017 (patch)
tree8ef8bbd99f2a20cb16164224ca6125f26a0510d1 /lib/urldata.h
parent61a6992559ecf6719a077399eaf6050862bbfc6f (diff)
- Robert Foreman provided a prime example snippet showing how libcurl would
get confused and not acknowledge the 'no_proxy' variable properly once it had used the proxy and you re-used the same easy handle. I made sure the proxy name is properly stored in the connect struct rather than the sessionhandle/easy struct.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 5953779ce..b94761c0b 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -1102,8 +1102,6 @@ struct DynamicStatic {
changed after the connect phase, as we allow callback
to change it and if so, we reconnect to use the new
URL instead */
- char *proxy; /* work proxy, copied from UserDefined */
- bool proxy_alloc; /* http proxy string is malloc()'ed */
char *referer; /* referer string */
bool referer_alloc; /* referer sting is malloc()ed */
struct curl_slist *cookielist; /* list of cookie files set by
@@ -1132,7 +1130,7 @@ struct UserDefined {
void *in; /* the uploaded file is read from here */
void *writeheader; /* write the header to this if non-NULL */
char *set_url; /* what original URL to work on */
- char *set_proxy; /* proxy to use */
+ char *proxy; /* proxy to use */
long use_port; /* which port to use (when not using default) */
char *userpwd; /* <user:password>, if used */
long httpauth; /* what kind of HTTP authentication to use (bitmask) */