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:
Daniel Stenberg 2022-03-30 11:02:57 +02:00
parent 08ca1f2b97
commit 3bc5b32db5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
10 changed files with 12 additions and 9 deletions

View file

@ -3472,7 +3472,7 @@ static CURLcode ossl_connect_step2(struct Curl_easy *data,
}
}
else
infof(data, "ALPN, server did not agree to a protocol");
infof(data, VTLS_INFOF_NO_ALPN);
Curl_multiuse_state(data, conn->negnpn == CURL_HTTP_VERSION_2 ?
BUNDLE_MULTIPLEX : BUNDLE_NO_MULTIUSE);