summaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 7f26a9561..f3ff8f8ab 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -316,6 +316,10 @@ typedef enum {
#include <iconv.h>
#endif
+#ifdef USE_HSTS
+#include <libhsts.h>
+#endif
+
/* Struct used for GSSAPI (Kerberos V5) authentication */
#if defined(USE_KERBEROS5)
struct kerberos5data {
@@ -1763,6 +1767,9 @@ struct UserDefined {
bit doh:1; /* DNS-over-HTTPS enabled */
bit doh_get:1; /* use GET for DoH requests, instead of POST */
bit http09_allowed:1; /* allow HTTP/0.9 responses */
+#ifdef USE_HSTS
+ hsts_t *hsts; /* libhsts handle */
+#endif
};
struct Names {