http2: debug ouput sent HTTP/2 request headers

This commit is contained in:
Daniel Stenberg 2016-09-15 14:12:53 +02:00
parent d4c5a91722
commit f423a00971
1 changed files with 4 additions and 0 deletions

View File

@ -1796,6 +1796,10 @@ static ssize_t http2_send(struct connectdata *conn, int sockindex,
if(nva[i].valuelen > max_acc - acc)
break;
acc += nva[i].valuelen;
DEBUGF(infof(conn->data, "h2 header: %.*s:%.*s\n",
nva[i].namelen, nva[i].name,
nva[i].valuelen, nva[i].value));
}
if(i != nheader) {