src: Print PRIORITY frame in print_frame()

This commit is contained in:
Tatsuhiro Tsujikawa 2013-07-23 00:29:52 +09:00
parent 0bcf90d32d
commit 57401bfb8d
1 changed files with 4 additions and 0 deletions

View File

@ -241,6 +241,10 @@ void print_frame(print_type ptype, nghttp2_frame *frame)
}
print_nv(frame->headers.nva, frame->headers.nvlen);
break;
case NGHTTP2_PRIORITY:
print_frame_attr_indent();
printf("(pri=%d)\n", frame->priority.pri);
break;
case NGHTTP2_RST_STREAM:
print_frame_attr_indent();
printf("(error_code=%s(%u))\n",