Lines Matching refs:alpn_negotiated
479 Curl_safefree(ctx->alpn_negotiated); in cf_ctx_free()
2280 if(connssl->alpn_negotiated) { in Curl_alpn_set_negotiated()
2287 connssl->alpn_negotiated); in Curl_alpn_set_negotiated()
2291 else if((strlen(connssl->alpn_negotiated) != proto_len) || in Curl_alpn_set_negotiated()
2292 memcmp(connssl->alpn_negotiated, proto, proto_len)) { in Curl_alpn_set_negotiated()
2295 connssl->alpn_negotiated, (int)proto_len, proto); in Curl_alpn_set_negotiated()
2301 connssl->alpn_negotiated); in Curl_alpn_set_negotiated()
2312 connssl->alpn_negotiated = malloc(proto_len + 1); in Curl_alpn_set_negotiated()
2313 if(!connssl->alpn_negotiated) 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()