mirror of
https://github.com/curl/curl.git
synced 2026-08-26 12:23:34 +03:00
error code cleanup, use the new SEND/RECV errors
This commit is contained in:
parent
536ea60d73
commit
e8109b09b1
4 changed files with 10 additions and 10 deletions
|
|
@ -392,7 +392,7 @@ CURLcode Curl_ConnectHTTPProxyTunnel(struct connectdata *conn,
|
|||
} /* while there's buffer left and loop is requested */
|
||||
|
||||
if(error)
|
||||
return CURLE_READ_ERROR;
|
||||
return CURLE_RECV_ERROR;
|
||||
|
||||
if(200 != httperror) {
|
||||
if(407 == httperror)
|
||||
|
|
@ -400,7 +400,7 @@ CURLcode Curl_ConnectHTTPProxyTunnel(struct connectdata *conn,
|
|||
failf(data, "Proxy requires authorization!");
|
||||
else
|
||||
failf(data, "Received error code %d from proxy", httperror);
|
||||
return CURLE_READ_ERROR;
|
||||
return CURLE_RECV_ERROR;
|
||||
}
|
||||
|
||||
infof (data, "Proxy replied to CONNECT request\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue