Commit c1e1a1be authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Cast uint8_t to uint32_t to display it as numeric value

parent 979feaec
...@@ -1087,7 +1087,7 @@ int on_frame_not_send_callback(nghttp2_session *session, ...@@ -1087,7 +1087,7 @@ int on_frame_not_send_callback(nghttp2_session *session,
{ {
auto http2session = static_cast<Http2Session*>(user_data); auto http2session = static_cast<Http2Session*>(user_data);
SSLOG(WARNING, http2session) << "Failed to send control frame type=" SSLOG(WARNING, http2session) << "Failed to send control frame type="
<< frame->hd.type << ", " << static_cast<uint32_t>(frame->hd.type)
<< "lib_error_code=" << lib_error_code << ":" << "lib_error_code=" << lib_error_code << ":"
<< nghttp2_strerror(lib_error_code); << nghttp2_strerror(lib_error_code);
if(frame->hd.type == NGHTTP2_HEADERS && if(frame->hd.type == NGHTTP2_HEADERS &&
......
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