Home
last modified time | relevance | path

Searched refs:hsts (Results 1 – 25 of 34) 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()
360 CURLcode Curl_hsts_save(struct Curl_easy *data, struct hsts *h, in Curl_hsts_save()
421 static CURLcode hsts_add(struct hsts *h, char *line) in hsts_add()
513 static CURLcode hsts_load(struct hsts *h, const char *file) in hsts_load()
552 struct hsts *h, const char *file) in Curl_hsts_loadfile()
[all …]
H A Dshare.c99 if(!share->hsts) { in curl_share_setopt()
100 share->hsts = Curl_hsts_init(); in curl_share_setopt()
101 if(!share->hsts) in curl_share_setopt()
167 if(share->hsts) { in curl_share_setopt()
168 Curl_hsts_cleanup(&share->hsts); in curl_share_setopt()
244 Curl_hsts_cleanup(&share->hsts); in curl_share_cleanup()
H A Dshare.h58 struct hsts *hsts; member
H A Dsetopt.c1372 if(!data->hsts) { in setopt_long()
1373 data->hsts = Curl_hsts_init(); in setopt_long()
1374 if(!data->hsts) in setopt_long()
1379 Curl_hsts_cleanup(&data->hsts); in setopt_long()
1587 if(data->share->hsts == data->hsts) in setopt_pointers()
1588 data->hsts = NULL; in setopt_pointers()
1628 if(data->share->hsts) { in setopt_pointers()
1631 data->hsts = data->share->hsts; in setopt_pointers()
2608 if(!data->hsts) { in setopt_cptr()
2609 data->hsts = Curl_hsts_init(); in setopt_cptr()
[all …]
H A Deasy.c1002 if(data->hsts) { in curl_easy_duphandle()
1003 outcurl->hsts = Curl_hsts_init(); in curl_easy_duphandle()
1004 if(!outcurl->hsts) in curl_easy_duphandle()
1008 outcurl->hsts, outcurl->set.str[STRING_HSTS]); in curl_easy_duphandle()
1009 (void)Curl_hsts_loadcb(outcurl, outcurl->hsts); in curl_easy_duphandle()
1061 Curl_hsts_cleanup(&outcurl->hsts); in curl_easy_duphandle()
H A DMakefile.inc170 hsts.c \
310 hsts.h \
/curl/tests/data/
H A Dtest78350 .hsts.example "20991001 04:47:41"
51 .this.hsts.example "99991001 04:47:41"
58 -x http://%HOSTIP:%PROXYPORT http://this.hsts.example:%HTTPSPORT/%TESTNUMBER --hsts %LOGDIR/input%T…
81 # Your HSTS cache. https://curl.se/docs/hsts.html
83 .hsts.example "20991001 04:47:41"
84 this.hsts.example "20241009 09:42:27"
H A Dtest78150 .hsts.example "20991001 04:47:41"
51 this.hsts.example "99991001 04:47:41"
58 -x http://%HOSTIP:%PROXYPORT http://this.hsts.example:%HTTPSPORT/%TESTNUMBER --hsts %LOGDIR/input%T…
81 # Your HSTS cache. https://curl.se/docs/hsts.html
83 .hsts.example "20991001 04:47:41"
84 this.hsts.example "20241009 09:42:27"
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 -…
56 CONNECT this.hsts.example.:443 HTTP/1.1
57 Host: this.hsts.example.:443
70 https://this.hsts.example./%TESTNUMBER
H A Dtest78250 .hsts.example "20991001 04:47:41"
51 .this.hsts.example "99991001 04:47:41"
58 -x http://%HOSTIP:%PROXYPORT http://this.hsts.example:%HTTPSPORT/%TESTNUMBER --hsts %LOGDIR/input%T…
81 # Your HSTS cache. https://curl.se/docs/hsts.html
83 .hsts.example "20991001 04:47:41"
84 .this.hsts.example "20241009 09:42:27"
H A Dtest49337 .hsts.example "99991001 04:47:41"
44 -x http://%HOSTIP:%HTTPPORT http://this.hsts.example/%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER -w…
54 CONNECT this.hsts.example:443 HTTP/1.1
55 Host: this.hsts.example:443
68 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…
55 CONNECT this.hsts.example:443 HTTP/1.1
56 Host: this.hsts.example:443
69 https://this.hsts.example/%TESTNUMBER
H A Dtest78049 this.hsts.example "99991001 04:47:41"
56 -x http://%HOSTIP:%PROXYPORT http://this.hsts.example:%HTTPSPORT/%TESTNUMBER --hsts %LOGDIR/input%T…
79 # Your HSTS cache. https://curl.se/docs/hsts.html
81 this.hsts.example "20241009 09:42:27"
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`
/curl/tests/
H A D.gitignore29 second-hsts.txt
/curl/tests/unit/
H A Dunit1660.c124 struct hsts *h = Curl_hsts_init();
/curl/docs/examples/
H A D.gitignore31 hsts-preload
H A DMakefile.inc52 hsts-preload \
/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*,\
259 lib/hsts.*,\

Completed in 75 milliseconds

12