Searched refs:asi (Results 1 – 8 of 8) sorted by relevance
/curl/tests/unit/ |
H A D | unit1654.c | 47 struct altsvcinfo *asi = Curl_altsvc_init(); variable 48 abort_if(!asi, "Curl_altsvc_i"); 49 result = Curl_altsvc_load(asi, arg); 68 result = Curl_altsvc_parse(curl, asi, "h3=\":8080\"\r\n", 73 result = Curl_altsvc_parse(curl, asi, 80 result = Curl_altsvc_parse(curl, asi, 87 result = Curl_altsvc_parse(curl, asi, 94 Curl_altsvc_parse(curl, asi, 101 result = Curl_altsvc_parse(curl, asi, "clear;\r\n", 106 Curl_altsvc_save(curl, asi, outname); [all …]
|
/curl/lib/ |
H A D | altsvc.c | 218 free(asi->filename); in altsvc_load() 219 asi->filename = strdup(file); in altsvc_load() 220 if(!asi->filename) in altsvc_load() 299 if(!asi) in Curl_altsvc_init() 304 asi->flags = CURLALTSVC_H1 in Curl_altsvc_init() 312 return asi; in Curl_altsvc_init() 320 DEBUGASSERT(asi); in Curl_altsvc_load() 329 DEBUGASSERT(asi); in Curl_altsvc_ctrl() 330 asi->flags = ctrl; in Curl_altsvc_ctrl() 506 DEBUGASSERT(asi); in Curl_altsvc_parse() [all …]
|
H A D | altsvc.h | 62 CURLcode Curl_altsvc_load(struct altsvcinfo *asi, const char *file); 64 struct altsvcinfo *asi, const char *file); 65 CURLcode Curl_altsvc_ctrl(struct altsvcinfo *asi, const long ctrl); 71 bool Curl_altsvc_lookup(struct altsvcinfo *asi,
|
H A D | easy.c | 993 if(data->asi) { in curl_easy_duphandle() 994 outcurl->asi = Curl_altsvc_init(); in curl_easy_duphandle() 995 if(!outcurl->asi) in curl_easy_duphandle() 998 (void)Curl_altsvc_load(outcurl->asi, outcurl->set.str[STRING_ALTSVC]); in curl_easy_duphandle() 1060 Curl_altsvc_cleanup(&outcurl->asi); in curl_easy_duphandle()
|
H A D | setopt.c | 1388 if(!data->asi) { in setopt_long() 1389 data->asi = Curl_altsvc_init(); in setopt_long() 1390 if(!data->asi) in setopt_long() 1393 return Curl_altsvc_ctrl(data->asi, arg); in setopt_long() 2641 if(!data->asi) { in setopt_cptr() 2642 data->asi = Curl_altsvc_init(); in setopt_cptr() 2643 if(!data->asi) in setopt_cptr() 2650 (void)Curl_altsvc_load(data->asi, ptr); in setopt_cptr()
|
H A D | url.c | 281 Curl_altsvc_save(data, data->asi, data->set.str[STRING_ALTSVC]); in Curl_close() 282 Curl_altsvc_cleanup(&data->asi); in Curl_close() 3042 if(data->asi && !host && (port == -1) && 3063 ) & data->asi->flags; 3108 hit = Curl_altsvc_lookup(data->asi, 3116 hit = Curl_altsvc_lookup(data->asi,
|
H A D | urldata.h | 1948 struct altsvcinfo *asi; /* the alt-svc cache */ member
|
H A D | http.c | 2831 v = (data->asi && in Curl_http_header() 2844 return Curl_altsvc_parse(data, data->asi, v, id, conn->host.name, in Curl_http_header()
|
Completed in 48 milliseconds