mirror of
https://github.com/curl/curl.git
synced 2026-08-25 08:53:36 +03:00
- 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.
This commit is contained in:
parent
61a6992559
commit
bedc61ac45
6 changed files with 31 additions and 48 deletions
|
|
@ -1668,7 +1668,7 @@ static CURLcode ftp_state_pasv_resp(struct connectdata *conn,
|
|||
return CURLE_FTP_WEIRD_PASV_REPLY;
|
||||
}
|
||||
|
||||
if(data->change.proxy && *data->change.proxy) {
|
||||
if(data->set.proxy && *data->set.proxy) {
|
||||
/*
|
||||
* This is a tunnel through a http proxy and we need to connect to the
|
||||
* proxy again here.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue