• Home
  • Raw
  • Download

Lines Matching refs:hd

906       nghttp2_session_get_stream_user_data(session, frame->hd.stream_id));  in on_header_callback2()
918 switch (frame->hd.type) { in on_header_callback2()
1016 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id)); in on_invalid_header_callback2()
1023 if (frame->hd.type == NGHTTP2_PUSH_PROMISE) { in on_invalid_header_callback2()
1026 stream_id = frame->hd.stream_id; in on_invalid_header_callback2()
1035 << " in frame type=" << static_cast<uint32_t>(frame->hd.type) in on_invalid_header_callback2()
1051 switch (frame->hd.type) { in on_begin_headers_callback()
1058 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id)); in on_begin_headers_callback()
1060 http2session->submit_rst_stream(frame->hd.stream_id, in on_begin_headers_callback()
1069 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id)); in on_begin_headers_callback()
1078 assert(downstream->get_downstream_stream_id() == frame->hd.stream_id); in on_begin_headers_callback()
1130 << "HTTP response headers. stream_id=" << frame->hd.stream_id << "\n" in on_response_headers()
1146 http2session->submit_rst_stream(frame->hd.stream_id, in on_response_headers()
1168 << "HTTP upgrade success. stream_id=" << frame->hd.stream_id; in on_response_headers()
1195 if (frame->hd.flags & NGHTTP2_FLAG_END_STREAM) { in on_response_headers()
1209 http2session->submit_rst_stream(frame->hd.stream_id, NGHTTP2_CANCEL); in on_response_headers()
1211 http2session->submit_rst_stream(frame->hd.stream_id, in on_response_headers()
1227 switch (frame->hd.type) { in on_frame_recv_callback()
1230 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id)); in on_frame_recv_callback()
1238 http2session->submit_rst_stream(frame->hd.stream_id, in on_frame_recv_callback()
1242 } else if (frame->hd.flags & NGHTTP2_FLAG_END_STREAM) { in on_frame_recv_callback()
1264 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id)); in on_frame_recv_callback()
1287 if (frame->hd.flags & NGHTTP2_FLAG_END_STREAM) { in on_frame_recv_callback()
1313 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id)); in on_frame_recv_callback()
1323 if ((frame->hd.flags & NGHTTP2_FLAG_ACK) == 0) { in on_frame_recv_callback()
1338 if (frame->hd.flags & NGHTTP2_FLAG_ACK) { in on_frame_recv_callback()
1351 << frame->hd.stream_id in on_frame_recv_callback()
1356 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id)); in on_frame_recv_callback()
1365 assert(downstream->get_downstream_stream_id() == frame->hd.stream_id); in on_frame_recv_callback()
1472 if (frame->hd.type == NGHTTP2_DATA || frame->hd.type == NGHTTP2_HEADERS) { in on_frame_send_callback()
1474 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id)); in on_frame_send_callback()
1482 if (frame->hd.type == NGHTTP2_HEADERS && in on_frame_send_callback()
1496 if ((frame->hd.flags & NGHTTP2_FLAG_END_STREAM) == 0) { in on_frame_send_callback()
1505 if (frame->hd.type == NGHTTP2_SETTINGS && in on_frame_send_callback()
1506 (frame->hd.flags & NGHTTP2_FLAG_ACK) == 0) { in on_frame_send_callback()
1520 << static_cast<uint32_t>(frame->hd.type) in on_frame_not_send_callback()
1524 if (frame->hd.type != NGHTTP2_HEADERS || in on_frame_not_send_callback()
1531 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id)); in on_frame_not_send_callback()
1571 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id)); in send_data_callback()