diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-03-08 08:30:32 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-04-19 08:22:16 +0200 |
commit | d71ff2b9db566b3f4b2eb29441c2df86715d4339 (patch) | |
tree | ddd481d5d61a136b958da6efde6ef4817ed74107 /lib/http.c | |
parent | eff614fb0242cb37d33f89e2e74a93cef5203aed (diff) | |
download | curl-d71ff2b9db566b3f4b2eb29441c2df86715d4339.tar.gz |
hsts: enable by default
No longer considered experimental.
Closes #6700
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index 02c81c419..3cb21760d 100644 --- a/lib/http.c +++ b/lib/http.c @@ -3618,7 +3618,7 @@ CURLcode Curl_http_header(struct Curl_easy *data, struct connectdata *conn, } } -#ifdef USE_HSTS +#ifndef CURL_DISABLE_HSTS /* If enabled, the header is incoming and this is over HTTPS */ else if(data->hsts && checkprefix("Strict-Transport-Security:", headp) && (conn->handler->flags & PROTOPT_SSL)) { |