mirror of
https://github.com/curl/curl.git
synced 2026-08-26 12:43:34 +03:00
hsts: enable by default
No longer considered experimental. Closes #6700
This commit is contained in:
parent
eff614fb02
commit
d71ff2b9db
15 changed files with 69 additions and 44 deletions
|
|
@ -1944,7 +1944,7 @@ static CURLcode parseurlandfillconn(struct Curl_easy *data,
|
|||
return CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
#ifdef USE_HSTS
|
||||
#ifndef CURL_DISABLE_HSTS
|
||||
if(data->hsts && strcasecompare("http", data->state.up.scheme)) {
|
||||
if(Curl_hsts(data->hsts, data->state.up.hostname, TRUE)) {
|
||||
char *url;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue