diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-09-15 14:12:53 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-09-16 09:00:20 +0200 |
commit | f423a009715ce3fb5505434f97598fcf3a39f7ab (patch) | |
tree | 3cf2051e0c115bbe7996fea1f1d0cca00245e8d8 /lib/http2.c | |
parent | d4c5a917226ad6d5bee1b1d6deb099e1d9a895e6 (diff) | |
download | curl-f423a009715ce3fb5505434f97598fcf3a39f7ab.tar.gz |
http2: debug ouput sent HTTP/2 request headers
Diffstat (limited to 'lib/http2.c')
-rw-r--r-- | lib/http2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/http2.c b/lib/http2.c index c2257726a..de64c3186 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -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) { |