Searched refs:hsts (Results 1 – 25 of 34) sorted by relevance
12
/curl/lib/ |
H A D | hsts.h | 44 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 D | hsts.c | 78 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 D | share.c | 99 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 D | share.h | 58 struct hsts *hsts; member
|
H A D | setopt.c | 1372 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 D | easy.c | 1002 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 D | Makefile.inc | 170 hsts.c \ 310 hsts.h \
|
/curl/tests/data/ |
H A D | test783 | 50 .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 D | test781 | 50 .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 D | test440 | 38 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 D | test782 | 50 .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 D | test493 | 37 .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 D | test441 | 38 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 D | test780 | 49 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 D | test1660 | 18 <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 D | hsts.md | 4 Long: hsts 14 - --hsts cache.txt $URL 17 # `--hsts`
|
/curl/tests/ |
H A D | .gitignore | 29 second-hsts.txt
|
/curl/tests/unit/ |
H A D | unit1660.c | 124 struct hsts *h = Curl_hsts_init();
|
/curl/docs/examples/ |
H A D | .gitignore | 31 hsts-preload
|
H A D | Makefile.inc | 52 hsts-preload \
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_HSTS.md | 73 curl_easy_setopt(curl, CURLOPT_HSTS, "/home/user/.hsts-cache");
|
/curl/src/ |
H A D | tool_cfgable.h | 54 char *hsts; /* HSTS cache filename */ member
|
H A D | tool_cfgable.c | 57 Curl_safefree(config->hsts); in free_config_fields()
|
/curl/docs/ |
H A D | options-in-versions | 93 --hsts 7.74.0
|
/curl/.github/ |
H A D | labeler.yml | 234 docs/examples/hsts*,\ 259 lib/hsts.*,\
|
Completed in 47 milliseconds
12