From 60fe0337dae6911ee50143ed10cccb917a05587c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 27 Jul 2013 22:37:09 +0900 Subject: [PATCH] app_helper: Print PUSH_PROMISE --- src/app_helper.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app_helper.cc b/src/app_helper.cc index 7dbe4de6..11f7ca5e 100644 --- a/src/app_helper.cc +++ b/src/app_helper.cc @@ -266,6 +266,11 @@ void print_frame(print_type ptype, nghttp2_frame *frame) frame->settings.iv[i].value); } break; + case NGHTTP2_PUSH_PROMISE: + print_frame_attr_indent(); + printf("(promised_stream_id=%d)\n", + frame->push_promise.promised_stream_id); + break; case NGHTTP2_PING: print_frame_attr_indent(); printf("(opaque_data=%s)\n",