src: Use "sensitive" to indicate "never indexed" header field
This commit is contained in:
parent
f2a498e3c4
commit
66b6787fbe
|
@ -408,8 +408,11 @@ int verbose_on_header_callback(nghttp2_session *session,
|
||||||
namelen, valuelen};
|
namelen, valuelen};
|
||||||
|
|
||||||
print_timer();
|
print_timer();
|
||||||
fprintf(outfile, " recv (stream_id=%d, noind=%d) ", frame->hd.stream_id,
|
fprintf(outfile, " recv (stream_id=%d", frame->hd.stream_id);
|
||||||
(flags & NGHTTP2_NV_FLAG_NO_INDEX) != 0);
|
if (flags & NGHTTP2_NV_FLAG_NO_INDEX) {
|
||||||
|
fprintf(outfile, ", sensitive");
|
||||||
|
}
|
||||||
|
fprintf(outfile, ") ");
|
||||||
|
|
||||||
print_nv(&nv);
|
print_nv(&nv);
|
||||||
fflush(outfile);
|
fflush(outfile);
|
||||||
|
|
Loading…
Reference in New Issue