Searched refs:hsts (Results 1 – 25 of 30) 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() 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 D | share.c | 98 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 D | share.h | 58 struct hsts *hsts; member
|
H A D | setopt.c | 2313 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 D | easy.c | 998 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 D | Makefile.inc | 169 hsts.c \ 310 hsts.h \
|
H A D | urldata.h | 1933 struct hsts *hsts; member
|
/curl/tests/data/ |
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 -… 52 CONNECT this.hsts.example.:443 HTTP/1.1 53 Host: this.hsts.example.:443 66 https://this.hsts.example./%TESTNUMBER
|
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… 51 CONNECT this.hsts.example:443 HTTP/1.1 52 Host: this.hsts.example:443 65 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… 52 CONNECT this.hsts.example:443 HTTP/1.1 53 Host: this.hsts.example:443 66 https://this.hsts.example/%TESTNUMBER
|
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`
|
H A D | Makefile.inc | 128 hsts.md \
|
/curl/tests/ |
H A D | .gitignore | 29 second-hsts.txt
|
/curl/docs/examples/ |
H A D | .gitignore | 31 hsts-preload
|
H A D | Makefile.inc | 52 hsts-preload \
|
/curl/tests/unit/ |
H A D | unit1660.c | 124 struct hsts *h = Curl_hsts_init();
|
/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*,\ 260 lib/hsts.*,\
|
/curl/.github/scripts/ |
H A D | spellcheck.words | 339 hsts
|
/curl/ |
H A D | configure.ac | 177 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