Commit 2a311b31 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

src: Print flags in DATA

parent 69034900
......@@ -377,6 +377,11 @@ void print_data_frame(print_type ptype, uint16_t length, uint8_t flags,
printf("%sDATA%s frame (length=%d, flags=%d, stream_id=%d)\n",
frame_name_ansi_esc(ptype), ansi_escend(),
length, flags, stream_id);
if(flags) {
nghttp2_frame_hd hd = {length, NGHTTP2_DATA, flags, stream_id};
print_frame_attr_indent();
print_flags(hd);
}
}
} // namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment