aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http.c1
-rw-r--r--lib/vtls/openssl.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/http.c b/lib/http.c
index 53e5af04f..789ee8fa9 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -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;
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index dc94b8982..35912c74c 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -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) {