print_frame: Show pri only when NGHTTP2_FLAG_PRIORITY flag set
This commit is contained in:
parent
307e13375d
commit
257bc1c924
|
@ -625,8 +625,10 @@ void print_frame(print_type ptype, nghttp2_frame *frame)
|
|||
}
|
||||
switch(frame->hd.type) {
|
||||
case NGHTTP2_HEADERS:
|
||||
if(frame->hd.flags & NGHTTP2_FLAG_PRIORITY) {
|
||||
print_frame_attr_indent();
|
||||
printf("(pri=%d)\n", frame->headers.pri);
|
||||
}
|
||||
switch(frame->headers.cat) {
|
||||
case NGHTTP2_HCAT_START_STREAM:
|
||||
print_frame_attr_indent();
|
||||
|
|
Loading…
Reference in New Issue