Skip to content
Snippets Groups Projects
Commit c2479ccb authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

my proxytunnel fix accidentally ruined the normal https connects

parent fc07eb45
No related branches found
No related tags found
No related merge requests found
......@@ -407,13 +407,13 @@ CURLcode Curl_http_connect(struct connectdata *conn)
conn->hostname, conn->remote_port);
if(CURLE_OK != result)
return result;
if(conn->protocol & PROT_HTTPS) {
/* now, perform the SSL initialization for this socket */
result = Curl_SSLConnect(conn);
if(result)
return result;
}
}
if(conn->protocol & PROT_HTTPS) {
/* now, perform the SSL initialization for this socket */
result = Curl_SSLConnect(conn);
if(result)
return result;
}
if(conn->bits.user_passwd && !data->state.this_is_a_follow) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment