http2: make the info-message about receiving HTTP2 headers debug-only

This commit is contained in:
Daniel Stenberg 2015-03-07 10:55:37 +01:00
parent 44ffe27056
commit df28af8f39
1 changed files with 2 additions and 2 deletions

View File

@ -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, "\r\n", 2);
infof(conn->data, "got http2 header: %.*s: %.*s\n",
namelen, name, valuelen, value);
DEBUGF(infof(conn->data, "h2 header: %.*s: %.*s\n",
namelen, name, valuelen, value));
}
return 0; /* 0 is successful */