Home
last modified time | relevance | path

Searched refs:hsts (Results 1 - 15 of 15) sorted by relevance

/third_party/curl/lib/
H A Dhsts.h44 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 Dhsts.c34 #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 Dshare.c32 #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 Dshare.h55 struct hsts *hsts; member
H A Dsetopt.c52 #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 Deasy.c76 #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 Durldata.h2007 struct hsts *hsts; member
H A Durl.c91 #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 Dhttp.c89 #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 Dtransfer.c82 #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 Dunit1660.c27 #include "hsts.h"
123 struct hsts *h = Curl_hsts_init();
/third_party/curl/src/
H A Dtool_cfgable.h54 char *hsts; /* HSTS cache file name */ member
H A Dtool_cfgable.c57 Curl_safefree(config->hsts); in free_config_fields()
H A Dtool_operate.c2185 if(config->hsts) in single_transfer()
2186 my_setopt_str(curl, CURLOPT_HSTS, config->hsts); in single_transfer()
H A Dtool_getparam.c444 {"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