From 27619fc450599bf6c0a152dd9206d8559603fc15 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 11 Aug 2003 23:15:41 +0000 Subject: Added support for CURLINFO_HTTP_CONNECTCODE --- lib/http.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/http.c') 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 */ -- cgit v1.2.3