mirror of https://github.com/moparisthebest/curl
*cool* fix by Bjrn Stenberg, makes proxy transfers work better...! :-)
This commit is contained in:
parent
28027c2aa2
commit
8a9098a36c
|
@ -1566,6 +1566,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
|
||||||
/* we have a proxy here to set */
|
/* we have a proxy here to set */
|
||||||
data->change.proxy = proxy;
|
data->change.proxy = proxy;
|
||||||
data->change.proxy_alloc=TRUE; /* this needs to be freed later */
|
data->change.proxy_alloc=TRUE; /* this needs to be freed later */
|
||||||
|
conn->bits.httpproxy = TRUE;
|
||||||
}
|
}
|
||||||
} /* if (!nope) - it wasn't specified non-proxy */
|
} /* if (!nope) - it wasn't specified non-proxy */
|
||||||
} /* NO_PROXY wasn't specified or '*' */
|
} /* NO_PROXY wasn't specified or '*' */
|
||||||
|
|
Loading…
Reference in New Issue