Home
last modified time | relevance | path

Searched refs:proto_len (Results 1 – 2 of 2) sorted by relevance

/curl/lib/vtls/
H A Dvtls.c2268 size_t proto_len) in Curl_alpn_set_negotiated() argument
2284 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 …]
H A Dvtls_int.h68 size_t proto_len);

Completed in 14 milliseconds