1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

http2: let openssl mention the exact protocol negotiated

Remove a superfluous "negotiated http2" info line
This commit is contained in:
Daniel Stenberg 2014-03-31 09:00:58 +02:00
parent ef813c7097
commit 6448946ac3
2 changed files with 2 additions and 2 deletions

View File

@ -1675,7 +1675,6 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
switch (conn->negnpn) {
case NPN_HTTP2:
infof(data, "Negotiated http2\n");
Curl_http2_init(conn);
Curl_http2_switched(conn);
break;

View File

@ -1430,7 +1430,8 @@ select_next_proto_cb(SSL *ssl,
(void)ssl;
if(retval == 1) {
infof(conn->data, "NPN, negotiated HTTP2\n");
infof(conn->data, "NPN, negotiated HTTP2 (%s)\n",
NGHTTP2_PROTO_VERSION_ID);
conn->negnpn = NPN_HTTP2;
}
else if(retval == 0) {