aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http.c b/lib/http.c
index 35f795725..90dc5a63b 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -556,6 +556,8 @@ CURLcode Curl_ConnectHTTPProxyTunnel(struct connectdata *conn,
if(error)
return CURLE_RECV_ERROR;
+ data->info.httpproxycode = httperror;
+
if(200 != httperror) {
if(407 == httperror)
/* Added Nov 6 1998 */