/third_party/curl/lib/ |
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);
|
D | hsts.c | 77 struct hsts *Curl_hsts_init(void) in Curl_hsts_init() 79 struct hsts *h = calloc(sizeof(struct hsts), 1); in Curl_hsts_init() 92 void Curl_hsts_cleanup(struct hsts **hp) in Curl_hsts_cleanup() 94 struct hsts *h = *hp; in Curl_hsts_cleanup() 114 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() 249 struct stsentry *Curl_hsts(struct hsts *h, const char *hostname, in Curl_hsts() 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() 458 static CURLcode hsts_pull(struct Curl_easy *data, struct hsts *h) in hsts_pull() [all …]
|
D | share.c | 96 if(!share->hsts) { in curl_share_setopt() 97 share->hsts = Curl_hsts_init(); in curl_share_setopt() 98 if(!share->hsts) in curl_share_setopt() 160 if(share->hsts) { in curl_share_setopt() 161 Curl_hsts_cleanup(&share->hsts); in curl_share_setopt() 235 Curl_hsts_cleanup(&share->hsts); in curl_share_cleanup()
|
D | share.h | 63 struct hsts *hsts; member
|
D | setopt.c | 2304 if(data->share->hsts == data->hsts) in Curl_vsetopt() 2305 data->hsts = NULL; in Curl_vsetopt() 2345 if(data->share->hsts) { in Curl_vsetopt() 2347 Curl_hsts_cleanup(&data->hsts); in Curl_vsetopt() 2348 data->hsts = data->share->hsts; in Curl_vsetopt() 3085 if(!data->hsts) { in Curl_vsetopt() 3086 data->hsts = Curl_hsts_init(); in Curl_vsetopt() 3087 if(!data->hsts) in Curl_vsetopt() 3110 if(!data->share || !data->share->hsts) in Curl_vsetopt() 3112 Curl_hsts_cleanup(&data->hsts); in Curl_vsetopt() [all …]
|
D | easy.c | 969 if(data->hsts) { in curl_easy_duphandle() 970 outcurl->hsts = Curl_hsts_init(); in curl_easy_duphandle() 971 if(!outcurl->hsts) in curl_easy_duphandle() 975 outcurl->hsts, outcurl->set.str[STRING_HSTS]); in curl_easy_duphandle() 976 (void)Curl_hsts_loadcb(outcurl, outcurl->hsts); in curl_easy_duphandle() 1027 Curl_hsts_cleanup(&outcurl->hsts); in curl_easy_duphandle()
|
D | Makefile.inc | 161 hsts.c \ 300 hsts.h \
|
D | urldata.h | 1999 struct hsts *hsts; member
|
D | Makefile.in | 226 hostip.c hostip4.c hostip6.c hostsyn.c hsts.c http.c http1.c \ 263 hsts.h http.h http1.h http2.h http_aws_sigv4.h http_chunks.h \ 308 libcurl_la-hostsyn.lo libcurl_la-hsts.lo libcurl_la-http.lo \ 405 libcurlu_la-hostsyn.lo libcurlu_la-hsts.lo libcurlu_la-http.lo \ 542 ./$(DEPDIR)/libcurl_la-hsts.Plo \ 669 ./$(DEPDIR)/libcurlu_la-hsts.Plo \ 1269 hsts.c \ 1408 hsts.h \ 1844 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurl_la-hsts.Plo@am__quote@ # am--include-marker 1974 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-hsts.Plo@am__quote@ # am--include-mark… [all …]
|
D | url.c | 411 Curl_hsts_save(data, data->hsts, data->set.str[STRING_HSTS]); in Curl_close() 413 if(!data->share || !data->share->hsts) in Curl_close() 414 Curl_hsts_cleanup(&data->hsts); in Curl_close() 1842 if(data->hsts && strcasecompare("http", data->state.up.scheme)) { 1844 if(Curl_hsts(data->hsts, conn->host.name, TRUE)) {
|
/third_party/curl/tests/data/ |
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
|
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
|
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
|
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
|
/third_party/curl/docs/cmdline-opts/ |
D | hsts.d | 3 Long: hsts 9 Example: --hsts cache.txt $URL
|
D | Makefile.inc | 105 hsts.d \
|
/third_party/curl/docs/ |
D | HSTS.md | 24 - `--hsts [filename]` - enable HSTS, use the file as HSTS cache. If filename 31 For each hsts entry:
|
D | options-in-versions | 91 --hsts 7.74.0
|
/third_party/curl/tests/unit/ |
D | unit1660.c | 123 struct hsts *h = Curl_hsts_init();
|
/third_party/curl/docs/examples/ |
D | Makefile.inc | 51 hsts-preload \
|
D | Makefile.in | 148 hsts-preload$(EXEEXT) http-options$(EXEEXT) http-post$(EXEEXT) \ 384 hsts_preload_SOURCES = hsts-preload.c 385 hsts_preload_OBJECTS = hsts-preload.$(OBJEXT) 960 ./$(DEPDIR)/headerapi.Po ./$(DEPDIR)/hsts-preload.Po \ 1026 getredirect.c getreferrer.c headerapi.c hsts-preload.c \ 1051 getredirect.c getreferrer.c headerapi.c hsts-preload.c \ 1508 hsts-preload$(EXEEXT): $(hsts_preload_OBJECTS) $(hsts_preload_DEPENDENCIES) $(EXTRA_hsts_preload_DE… 1509 @rm -f hsts-preload$(EXEEXT) 1854 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hsts-preload.Po@am__quote@ # am--include-marker 2119 -rm -f ./$(DEPDIR)/hsts-preload.Po [all …]
|
/third_party/curl/src/ |
D | tool_cfgable.h | 54 char *hsts; /* HSTS cache file name */ member
|
D | tool_cfgable.c | 56 Curl_safefree(config->hsts); in free_config_fields()
|
/third_party/curl/ |
D | configure.ac | 173 curl_hsts_msg="enabled (--disable-hsts)" 181 hsts="yes" 641 curl_hsts_msg="no (--enable-hsts)"; 643 hsts="no" 4346 dnl switch on/off hsts 4349 AC_ARG_ENABLE(hsts, optenable 4350 AS_HELP_STRING([--enable-hsts],[Enable HSTS support]) 4351 AS_HELP_STRING([--disable-hsts],[Disable HSTS support]), 4355 hsts="no" 4360 AC_MSG_RESULT($hsts) [all …]
|
D | BUILD.gn | 81 "lib/hsts.c",
|