1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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

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) {