Searched refs:alpnbuf (Results 1 – 1 of 1) sorted by relevance
/external/curl/lib/ |
D | altsvc.c | 339 static CURLcode getalnum(const char **ptr, char *alpnbuf, size_t buflen) in getalnum() argument 353 memcpy(alpnbuf, protop, len); in getalnum() 354 alpnbuf[len] = 0; in getalnum() 411 char alpnbuf[MAX_ALTSVC_ALPNLEN] = ""; in Curl_altsvc_parse() local 417 CURLcode result = getalnum(&p, alpnbuf, sizeof(alpnbuf)); in Curl_altsvc_parse() 427 if(strcasecompare(alpnbuf, "clear")) { in Curl_altsvc_parse() 465 dstalpnid = alpn2alpnid(alpnbuf); in Curl_altsvc_parse() 467 infof(data, "Unknown alt-svc protocol \"%s\", ignoring...\n", alpnbuf); in Curl_altsvc_parse() 522 result = getalnum(&p, alpnbuf, sizeof(alpnbuf)); in Curl_altsvc_parse()
|