src: Print headers in PUSH_PROMISE

This commit is contained in:
Tatsuhiro Tsujikawa 2013-10-10 21:24:54 +09:00
parent 2b9d4efa68
commit 6249038cc0
1 changed files with 1 additions and 0 deletions

View File

@ -296,6 +296,7 @@ void print_frame(print_type ptype, const nghttp2_frame *frame)
print_frame_attr_indent(); print_frame_attr_indent();
printf("(promised_stream_id=%d)\n", printf("(promised_stream_id=%d)\n",
frame->push_promise.promised_stream_id); frame->push_promise.promised_stream_id);
print_nv(frame->headers.nva, frame->headers.nvlen);
break; break;
case NGHTTP2_PING: case NGHTTP2_PING:
print_frame_attr_indent(); print_frame_attr_indent();