my proxytunnel fix accidentally ruined the normal https connects

This commit is contained in:
Daniel Stenberg 2001-11-13 08:34:24 +00:00
parent fc07eb45f4
commit c2479ccb7a

View File

@ -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) {