Home
last modified time | relevance | path

Searched refs:hsts (Results 1 – 25 of 30) sorted by relevance

12

/curl/lib/
H A Dhsts.h44 struct hsts { struct
50 struct hsts *Curl_hsts_init(void); argument
51 void Curl_hsts_cleanup(struct hsts **hp);
52 CURLcode Curl_hsts_parse(struct hsts *h, const char *hostname,
54 struct stsentry *Curl_hsts(struct hsts *h, const char *hostname,
56 CURLcode Curl_hsts_save(struct Curl_easy *data, struct hsts *h,
59 struct hsts *h, const char *file);
61 struct hsts *h);
H A Dhsts.c78 struct hsts *Curl_hsts_init(void) in Curl_hsts_init()
80 struct hsts *h = calloc(1, sizeof(struct hsts)); in Curl_hsts_init()
93 void Curl_hsts_cleanup(struct hsts **hp) in Curl_hsts_cleanup()
95 struct hsts *h = *hp; in Curl_hsts_cleanup()
110 static CURLcode hsts_create(struct hsts *h, in hsts_create()
143 CURLcode Curl_hsts_parse(struct hsts *h, const char *hostname, in Curl_hsts_parse()
353 CURLcode Curl_hsts_save(struct Curl_easy *data, struct hsts *h, in Curl_hsts_save()
414 static CURLcode hsts_add(struct hsts *h, char *line) in hsts_add()
506 static CURLcode hsts_load(struct hsts *h, const char *file) in hsts_load()
545 struct hsts *h, const char *file) in Curl_hsts_loadfile()
[all …]
H A Dshare.c98 if(!share->hsts) { in curl_share_setopt()
99 share->hsts = Curl_hsts_init(); in curl_share_setopt()
100 if(!share->hsts) in curl_share_setopt()
166 if(share->hsts) { in curl_share_setopt()
167 Curl_hsts_cleanup(&share->hsts); in curl_share_setopt()
242 Curl_hsts_cleanup(&share->hsts); in curl_share_cleanup()
H A Dshare.h58 struct hsts *hsts; member
H A Dsetopt.c2313 if(data->share->hsts == data->hsts) in Curl_vsetopt()
2314 data->hsts = NULL; in Curl_vsetopt()
2354 if(data->share->hsts) { in Curl_vsetopt()
2357 data->hsts = data->share->hsts; in Curl_vsetopt()
3107 if(!data->hsts) { in Curl_vsetopt()
3108 data->hsts = Curl_hsts_init(); in Curl_vsetopt()
3109 if(!data->hsts) in Curl_vsetopt()
3141 if(!data->hsts) { in Curl_vsetopt()
3142 data->hsts = Curl_hsts_init(); in Curl_vsetopt()
3143 if(!data->hsts) in Curl_vsetopt()
[all …]
H A Deasy.c998 if(data->hsts) { in curl_easy_duphandle()
999 outcurl->hsts = Curl_hsts_init(); in curl_easy_duphandle()
1000 if(!outcurl->hsts) in curl_easy_duphandle()
1004 outcurl->hsts, outcurl->set.str[STRING_HSTS]); in curl_easy_duphandle()
1005 (void)Curl_hsts_loadcb(outcurl, outcurl->hsts); in curl_easy_duphandle()
1057 Curl_hsts_cleanup(&outcurl->hsts); in curl_easy_duphandle()
H A DMakefile.inc169 hsts.c \
310 hsts.h \
H A Durldata.h1933 struct hsts *hsts; member
/curl/tests/data/
H A Dtest44038 this.hsts.example "99991001 04:47:41"
42 HSTS with trailing-dot host name in URL but none in hsts file
45 -x http://%HOSTIP:%HTTPPORT http://this.hsts.example./%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER -…
52 CONNECT this.hsts.example.:443 HTTP/1.1
53 Host: this.hsts.example.:443
66 https://this.hsts.example./%TESTNUMBER
H A Dtest49337 .hsts.example "99991001 04:47:41"
44 -x http://%HOSTIP:%HTTPPORT http://this.hsts.example/%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER -w…
51 CONNECT this.hsts.example:443 HTTP/1.1
52 Host: this.hsts.example:443
65 https://this.hsts.example/%TESTNUMBER
H A Dtest44138 this.hsts.example. "99991001 04:47:41"
45 -x http://%HOSTIP:%HTTPPORT http://this.hsts.example/%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER -w…
52 CONNECT this.hsts.example:443 HTTP/1.1
53 Host: this.hsts.example:443
66 https://this.hsts.example/%TESTNUMBER
H A Dtest166018 <file name="%LOGDIR/hsts%TESTNUMBER">
19 # Your HSTS cache. https://curl.se/docs/hsts.html
34 %LOGDIR/hsts%TESTNUMBER
75 <file name="%LOGDIR/hsts%TESTNUMBER.save" mode="text">
76 # Your HSTS cache. https://curl.se/docs/hsts.html
/curl/docs/cmdline-opts/
H A Dhsts.md4 Long: hsts
14 - --hsts cache.txt $URL
17 # `--hsts`
H A DMakefile.inc128 hsts.md \
/curl/tests/
H A D.gitignore29 second-hsts.txt
/curl/docs/examples/
H A D.gitignore31 hsts-preload
H A DMakefile.inc52 hsts-preload \
/curl/tests/unit/
H A Dunit1660.c124 struct hsts *h = Curl_hsts_init();
/curl/docs/libcurl/opts/
H A DCURLOPT_HSTS.md73 curl_easy_setopt(curl, CURLOPT_HSTS, "/home/user/.hsts-cache");
/curl/src/
H A Dtool_cfgable.h54 char *hsts; /* HSTS cache filename */ member
H A Dtool_cfgable.c57 Curl_safefree(config->hsts); in free_config_fields()
/curl/docs/
H A Doptions-in-versions93 --hsts 7.74.0
/curl/.github/
H A Dlabeler.yml234 docs/examples/hsts*,\
260 lib/hsts.*,\
/curl/.github/scripts/
H A Dspellcheck.words339 hsts
/curl/
H A Dconfigure.ac177 curl_hsts_msg="enabled (--disable-hsts)"
185 hsts="yes"
678 curl_hsts_msg="no (--enable-hsts)";
680 hsts="no"
4873 dnl switch on/off hsts
4876 AC_ARG_ENABLE(hsts, optenable
4882 hsts="no"
4888 AC_MSG_RESULT($hsts)
4892 hsts="no"
4895 if test "x$hsts" != "xyes"; then
[all …]

Completed in 59 milliseconds

12