Home
last modified time | relevance | path

Searched refs:hsts (Results 1 – 25 of 32) sorted by relevance

12

/third_party/curl/lib/
Dhsts.h42 struct hsts { struct
48 struct hsts *Curl_hsts_init(void); argument
49 void Curl_hsts_cleanup(struct hsts **hp);
50 CURLcode Curl_hsts_parse(struct hsts *h, const char *hostname,
52 struct stsentry *Curl_hsts(struct hsts *h, const char *hostname,
54 CURLcode Curl_hsts_save(struct Curl_easy *data, struct hsts *h,
57 struct hsts *h, const char *file);
59 struct hsts *h);
Dhsts.c74 struct hsts *Curl_hsts_init(void) in Curl_hsts_init()
76 struct hsts *h = calloc(sizeof(struct hsts), 1); in Curl_hsts_init()
89 void Curl_hsts_cleanup(struct hsts **hp) in Curl_hsts_cleanup()
91 struct hsts *h = *hp; in Curl_hsts_cleanup()
111 static CURLcode hsts_create(struct hsts *h, in hsts_create()
131 CURLcode Curl_hsts_parse(struct hsts *h, const char *hostname, in Curl_hsts_parse()
237 struct stsentry *Curl_hsts(struct hsts *h, const char *hostname, in Curl_hsts()
322 CURLcode Curl_hsts_save(struct Curl_easy *data, struct hsts *h, in Curl_hsts_save()
383 static CURLcode hsts_add(struct hsts *h, char *line) in hsts_add()
426 static CURLcode hsts_pull(struct Curl_easy *data, struct hsts *h) in hsts_pull()
[all …]
Dshare.c98 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()
162 if(share->hsts) { in curl_share_setopt()
163 Curl_hsts_cleanup(&share->hsts); in curl_share_setopt()
237 Curl_hsts_cleanup(&share->hsts); in curl_share_cleanup()
Dshare.h61 struct hsts *hsts; member
Dsetopt.c2232 if(data->share->hsts == data->hsts) in Curl_vsetopt()
2233 data->hsts = NULL; in Curl_vsetopt()
2273 if(data->share->hsts) { in Curl_vsetopt()
2275 Curl_hsts_cleanup(&data->hsts); in Curl_vsetopt()
2276 data->hsts = data->share->hsts; in Curl_vsetopt()
2978 if(!data->hsts) { in Curl_vsetopt()
2979 data->hsts = Curl_hsts_init(); in Curl_vsetopt()
2980 if(!data->hsts) in Curl_vsetopt()
3003 if(!data->share || !data->share->hsts) in Curl_vsetopt()
3005 Curl_hsts_cleanup(&data->hsts); in Curl_vsetopt()
[all …]
Deasy.c940 if(data->hsts) { in curl_easy_duphandle()
941 outcurl->hsts = Curl_hsts_init(); in curl_easy_duphandle()
942 if(!outcurl->hsts) in curl_easy_duphandle()
946 outcurl->hsts, outcurl->set.str[STRING_HSTS]); in curl_easy_duphandle()
947 (void)Curl_hsts_loadcb(outcurl, outcurl->hsts); in curl_easy_duphandle()
998 Curl_hsts_cleanup(&outcurl->hsts); in curl_easy_duphandle()
DMakefile.inc149 hsts.c \
277 hsts.h \
Durldata.h1940 struct hsts *hsts; member
Durl.c429 Curl_hsts_save(data, data->hsts, data->set.str[STRING_HSTS]); in Curl_close()
431 if(!data->share || !data->share->hsts) in Curl_close()
432 Curl_hsts_cleanup(&data->hsts); in Curl_close()
2051 if(data->hsts && strcasecompare("http", data->state.up.scheme)) {
2053 if(Curl_hsts(data->hsts, conn->host.name, TRUE)) {
/third_party/curl/tests/data/
Dtest49336 .hsts.example "20311001 04:47:41"
43 -x http://%HOSTIP:%HTTPPORT http://this.hsts.example/%TESTNUMBER --hsts log/input%TESTNUMBER -w '%{…
50 CONNECT this.hsts.example:443 HTTP/1.1
51 Host: this.hsts.example:443
64 https://this.hsts.example/%TESTNUMBER
Dtest166019 # Your HSTS cache. https://curl.se/docs/hsts.html
74 <file name="log/hsts%TESTNUMBER" mode="text">
75 # Your HSTS cache. https://curl.se/docs/hsts.html
/third_party/libsoup/libsoup/
Dmeson.build42 'soup-hsts-enforcer.c',
43 'soup-hsts-enforcer-db.c',
44 'soup-hsts-policy.c',
140 'soup-hsts-enforcer.h',
141 'soup-hsts-enforcer-db.h',
142 'soup-hsts-policy.h',
/third_party/curl/docs/
DHSTS.md24 - `--hsts [filename]` - enable HSTS, use the file as HSTS cache. If filename
31 For each hsts entry:
DHYPER.md68 - hsts
Doptions-in-versions87 --hsts 7.74.0
/third_party/libsoup/
DBUILD.gn66 "//third_party/libsoup/libsoup/soup-hsts-enforcer-db.c",
67 "//third_party/libsoup/libsoup/soup-hsts-enforcer.c",
68 "//third_party/libsoup/libsoup/soup-hsts-policy.c",
/third_party/libsoup/tests/
Dmeson.build47 ['hsts', true, []],
48 ['hsts-db', true, []],
/third_party/curl/docs/cmdline-opts/
Dhsts.d1 Long: hsts
DMakefile.inc99 hsts.d \
/third_party/curl/tests/unit/
Dunit1660.c122 struct hsts *h = Curl_hsts_init();
/third_party/curl/src/
Dtool_cfgable.h60 char *hsts; /* HSTS cache file name */ member
Dtool_cfgable.c58 Curl_safefree(config->hsts); in free_config_fields()
/third_party/libsoup/docs/reference/
Dlibsoup-2.4-sections.txt1407 <FILE>soup-hsts-enforcer</FILE>
1446 <FILE>soup-hsts-enforcer-db</FILE>
/third_party/curl/
DRELEASE-NOTES41 o CI: delete --enable-hsts option (it is the default now) [2]
98 o hsts: ignore numberical IP address hosts [17]
DBUILD.gn69 "//third_party/curl/lib/hsts.c",

12