parent
efa6c644aa
commit
ac5ad52142
10
lib/url.c
10
lib/url.c
@ -1816,11 +1816,6 @@ static CURLcode parseurlandfillconn(struct Curl_easy *data,
|
|||||||
result = Curl_idnconvert_hostname(&conn->host);
|
result = Curl_idnconvert_hostname(&conn->host);
|
||||||
if(result)
|
if(result)
|
||||||
return result;
|
return result;
|
||||||
if(conn->bits.conn_to_host) {
|
|
||||||
result = Curl_idnconvert_hostname(&conn->conn_to_host);
|
|
||||||
if(result)
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifndef CURL_DISABLE_HSTS
|
#ifndef CURL_DISABLE_HSTS
|
||||||
/* HSTS upgrade */
|
/* HSTS upgrade */
|
||||||
@ -3480,6 +3475,11 @@ static CURLcode create_conn(struct Curl_easy *data,
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
if(conn->bits.conn_to_host) {
|
||||||
|
result = Curl_idnconvert_hostname(&conn->conn_to_host);
|
||||||
|
if(result)
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
/*************************************************************
|
/*************************************************************
|
||||||
* Check whether the host and the "connect to host" are equal.
|
* Check whether the host and the "connect to host" are equal.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user