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:
parent
ef813c7097
commit
6448946ac3
@ -1675,7 +1675,6 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
|
|||||||
|
|
||||||
switch (conn->negnpn) {
|
switch (conn->negnpn) {
|
||||||
case NPN_HTTP2:
|
case NPN_HTTP2:
|
||||||
infof(data, "Negotiated http2\n");
|
|
||||||
Curl_http2_init(conn);
|
Curl_http2_init(conn);
|
||||||
Curl_http2_switched(conn);
|
Curl_http2_switched(conn);
|
||||||
break;
|
break;
|
||||||
|
@ -1430,7 +1430,8 @@ select_next_proto_cb(SSL *ssl,
|
|||||||
(void)ssl;
|
(void)ssl;
|
||||||
|
|
||||||
if(retval == 1) {
|
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;
|
conn->negnpn = NPN_HTTP2;
|
||||||
}
|
}
|
||||||
else if(retval == 0) {
|
else if(retval == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user