http2: make the info-message about receiving HTTP2 headers debug-only
This commit is contained in:
parent
44ffe27056
commit
df28af8f39
@ -504,8 +504,8 @@ static int on_header(nghttp2_session *session, const nghttp2_frame *frame,
|
|||||||
Curl_add_buffer(c->header_recvbuf, value, valuelen);
|
Curl_add_buffer(c->header_recvbuf, value, valuelen);
|
||||||
Curl_add_buffer(c->header_recvbuf, "\r\n", 2);
|
Curl_add_buffer(c->header_recvbuf, "\r\n", 2);
|
||||||
|
|
||||||
infof(conn->data, "got http2 header: %.*s: %.*s\n",
|
DEBUGF(infof(conn->data, "h2 header: %.*s: %.*s\n",
|
||||||
namelen, name, valuelen, value);
|
namelen, name, valuelen, value));
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0; /* 0 is successful */
|
return 0; /* 0 is successful */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user