Commit 6448946a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

http2: let openssl mention the exact protocol negotiated

Remove a superfluous "negotiated http2" info line
parent ef813c70
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
+2 −1
Original line number Diff line number Diff line
@@ -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) {