made CURLOPT_HTTPPROXYTUNNEL work for plain HTTP as well

This commit is contained in:
Daniel Stenberg 2001-11-12 14:08:41 +00:00
parent a18d41a463
commit 05f3ca880f
3 changed files with 18 additions and 18 deletions

View file

@ -1543,6 +1543,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
conn->protocol |= PROT_HTTP;
conn->curl_do = Curl_http;
conn->curl_done = Curl_http_done;
conn->curl_connect = Curl_http_connect;
}
else if (strequal(conn->protostr, "HTTPS")) {
#ifdef USE_SSLEAY