mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:43:32 +03:00
made CURLOPT_HTTPPROXYTUNNEL work for plain HTTP as well
This commit is contained in:
parent
a18d41a463
commit
05f3ca880f
3 changed files with 18 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue