mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:43:31 +03:00
vtls: provide a unified APLN-disagree string for all backends
Also rephrase to make it sound less dangerous: "ALPN: server did not agree on a protocol. Uses default." Reported-by: Nick Coghlan Fixes #8643 Closes #8651
This commit is contained in:
parent
08ca1f2b97
commit
3bc5b32db5
10 changed files with 12 additions and 9 deletions
|
|
@ -776,7 +776,7 @@ wolfssl_connect_step2(struct Curl_easy *data, struct connectdata *conn,
|
|||
BUNDLE_MULTIPLEX : BUNDLE_NO_MULTIUSE);
|
||||
}
|
||||
else if(rc == SSL_ALPN_NOT_FOUND)
|
||||
infof(data, "ALPN, server did not agree to a protocol");
|
||||
infof(data, VTLS_INFOF_NO_ALPN);
|
||||
else {
|
||||
failf(data, "ALPN, failure getting protocol, error %d", rc);
|
||||
return CURLE_SSL_CONNECT_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue