From a84c319d623d7bd442c8c4b6ee1f321082d7964a Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 13 Dec 2014 01:20:58 +0900 Subject: [PATCH] src: Print stream ID in priority field as dep_stream_id --- src/app_helper.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app_helper.cc b/src/app_helper.cc index e5ee5ae1..f247a807 100644 --- a/src/app_helper.cc +++ b/src/app_helper.cc @@ -291,7 +291,7 @@ void print_frame(print_type ptype, const nghttp2_frame *frame) { print_frame_attr_indent(); fprintf(outfile, "(padlen=%zu", frame->headers.padlen); if (frame->hd.flags & NGHTTP2_FLAG_PRIORITY) { - fprintf(outfile, ", stream_id=%d, weight=%u, exclusive=%d", + fprintf(outfile, ", dep_stream_id=%d, weight=%u, exclusive=%d", frame->headers.pri_spec.stream_id, frame->headers.pri_spec.weight, frame->headers.pri_spec.exclusive); } @@ -317,7 +317,7 @@ void print_frame(print_type ptype, const nghttp2_frame *frame) { case NGHTTP2_PRIORITY: print_frame_attr_indent(); - fprintf(outfile, "(stream_id=%d, weight=%u, exclusive=%d)\n", + fprintf(outfile, "(dep_stream_id=%d, weight=%u, exclusive=%d)\n", frame->priority.pri_spec.stream_id, frame->priority.pri_spec.weight, frame->priority.pri_spec.exclusive);