Searched refs:hsts (Results 1 - 15 of 15) sorted by relevance
/third_party/curl/lib/ |
H A D | hsts.h | 44 struct hsts { struct 50 struct hsts *Curl_hsts_init(void); 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 | 34 #include "hsts.h" 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() 115 static CURLcode hsts_create(struct hsts *h, in hsts_create() 148 CURLcode Curl_hsts_parse(struct hsts *h, const char *hostname, in Curl_hsts_parse() 254 struct stsentry *Curl_hsts(struct hsts *h, const char *hostname, in Curl_hsts() 334 * Write this single hsts entr [all...] |
H A D | share.c | 32 #include "hsts.h" 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()
|
H A D | share.h | 55 struct hsts *hsts; member
|
H A D | setopt.c | 52 #include "hsts.h" 2276 if(data->share->hsts == data->hsts) in Curl_vsetopt() 2277 data->hsts = NULL; in Curl_vsetopt() 2317 if(data->share->hsts) { in Curl_vsetopt() 2319 Curl_hsts_cleanup(&data->hsts); in Curl_vsetopt() 2320 data->hsts = data->share->hsts; in Curl_vsetopt() 3051 if(!data->hsts) { in Curl_vsetopt() 3052 data->hsts in Curl_vsetopt() [all...] |
H A D | easy.c | 76 #include "hsts.h" 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()
|
H A D | urldata.h | 2007 struct hsts *hsts; member
|
H A D | url.c | 91 #include "hsts.h" 289 Curl_hsts_save(data, data->hsts, data->set.str[STRING_HSTS]); in Curl_close() 291 if(!data->share || !data->share->hsts) in Curl_close() 292 Curl_hsts_cleanup(&data->hsts); in Curl_close() 1873 if(data->hsts && strcasecompare("http", data->state.up.scheme)) { 1875 if(Curl_hsts(data->hsts, conn->host.name, TRUE)) {
|
H A D | http.c | 89 #include "hsts.h" 3710 else if(data->hsts && checkprefix("Strict-Transport-Security:", headp) && in Curl_http_header() 3720 Curl_hsts_parse(data->hsts, conn->host.name, in Curl_http_header() 3727 data->hsts->list.size); in Curl_http_header()
|
H A D | transfer.c | 82 #include "hsts.h" 1127 /* If there is a list of hsts files to read */ in Curl_pretransfer() 1175 result = Curl_hsts_loadcb(data, data->hsts); in Curl_pretransfer()
|
/third_party/curl/tests/unit/ |
H A D | unit1660.c | 27 #include "hsts.h" 123 struct hsts *h = Curl_hsts_init();
|
/third_party/curl/src/ |
H A D | tool_cfgable.h | 54 char *hsts; /* HSTS cache file name */ member
|
H A D | tool_cfgable.c | 57 Curl_safefree(config->hsts); in free_config_fields()
|
H A D | tool_operate.c | 2185 if(config->hsts) in single_transfer() 2186 my_setopt_str(curl, CURLOPT_HSTS, config->hsts); in single_transfer()
|
H A D | tool_getparam.c | 444 {"hsts", ARG_STRG, ' ', C_HSTS}, 1984 case C_HSTS: /* --hsts */ in getparameter() 1988 err = getstr(&config->hsts, nextarg, ALLOW_BLANK); in getparameter()
|
Completed in 29 milliseconds