mirror of
https://github.com/curl/curl.git
synced 2026-08-08 15:43:02 +03:00
SOCKS: fix socks proxy when noproxy matched
Test 1212 added to verify Bug: http://curl.haxx.se/bug/view.cgi?id=1190
This commit is contained in:
parent
9a6e580e3a
commit
5cd85db9fa
3 changed files with 54 additions and 1 deletions
|
|
@ -3080,6 +3080,9 @@ static CURLcode ConnectionStore(struct SessionHandle *data,
|
|||
*/
|
||||
CURLcode Curl_connected_proxy(struct connectdata *conn)
|
||||
{
|
||||
if(!conn->bits.proxy)
|
||||
return CURLE_OK;
|
||||
|
||||
switch(conn->proxytype) {
|
||||
#ifndef CURL_DISABLE_PROXY
|
||||
case CURLPROXY_SOCKS5:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue