aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-03-31 09:00:58 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-03-31 09:00:58 +0200
commit6448946ac32af51894e41d9b2e93d1ddd7f865f3 (patch)
tree55282cbb0d91adb52030bc675aff8a739dc5d08b
parentef813c709749d02d8dee17f5215239909b2fe968 (diff)
http2: let openssl mention the exact protocol negotiated
Remove a superfluous "negotiated http2" info line
-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) {