Searched refs:proto_len (Results 1 – 2 of 2) sorted by relevance
2268 size_t proto_len) in Curl_alpn_set_negotiated() argument2284 if(!proto_len) { in Curl_alpn_set_negotiated()2305 if(proto && proto_len) { in Curl_alpn_set_negotiated()2306 if(memchr(proto, '\0', proto_len)) { in Curl_alpn_set_negotiated()2312 connssl->alpn_negotiated = malloc(proto_len + 1); in Curl_alpn_set_negotiated()2315 memcpy(connssl->alpn_negotiated, proto, proto_len); in Curl_alpn_set_negotiated()2316 connssl->alpn_negotiated[proto_len] = 0; in Curl_alpn_set_negotiated()2319 if(proto && proto_len) { in Curl_alpn_set_negotiated()2320 if(proto_len == ALPN_HTTP_1_1_LENGTH && in Curl_alpn_set_negotiated()2325 else if(proto_len == ALPN_H2_LENGTH && in Curl_alpn_set_negotiated()[all …]
68 size_t proto_len);
Completed in 9 milliseconds