Lines Matching refs:h2state
325 if (r->h2state != H2_STATE_HALF_CLOSED_REMOTE in h2_send_rst_stream_state()
326 && r->h2state != H2_STATE_CLOSED) { in h2_send_rst_stream_state()
331 r->h2state = H2_STATE_CLOSED; in h2_send_rst_stream_state()
352 if (r->h2state == H2_STATE_CLOSED) continue; in h2_send_goaway_rst_stream()
513 if (r->h2state == H2_STATE_IDLE) { in h2_recv_rst_stream()
520 r->h2state = H2_STATE_CLOSED; in h2_recv_rst_stream()
794 if (r->h2state == H2_STATE_CLOSED in h2_recv_window_update()
795 || r->h2state == H2_STATE_HALF_CLOSED_LOCAL) return; in h2_recv_window_update()
891 if (r->h2state == H2_STATE_HALF_CLOSED_LOCAL in h2_parse_frame_settings()
892 || r->h2state == H2_STATE_CLOSED) continue; in h2_parse_frame_settings()
965 r->h2state = (r->h2state == H2_STATE_OPEN) in h2_recv_end_data()
1054 if (r->h2state == H2_STATE_CLOSED in h2_recv_data()
1055 || r->h2state == H2_STATE_HALF_CLOSED_REMOTE) { in h2_recv_data()
1363 if (r->h2state != H2_STATE_OPEN in h2_recv_trailers_r()
1364 && r->h2state != H2_STATE_HALF_CLOSED_LOCAL) { in h2_recv_trailers_r()
1478 r->h2state = H2_STATE_CLOSED; in h2_parse_headers_frame()
1541 r->h2state = (s[4] & H2_FLAG_END_STREAM) in h2_recv_headers()
1580 r->h2state = H2_STATE_CLOSED; in h2_recv_headers()
2050 ++r->h2state; in h2_send_hpack()
2052 r->h2state = (r->h2state == H2_STATE_HALF_CLOSED_REMOTE) in h2_send_hpack()
2721 if (r->h2state != H2_STATE_HALF_CLOSED_LOCAL) { in h2_send_end_stream_data()
2740 if (r->h2state != H2_STATE_HALF_CLOSED_REMOTE) { in h2_send_end_stream_data()
2747 r->h2state = H2_STATE_CLOSED; in h2_send_end_stream_data()
2754 if (r->h2state == H2_STATE_CLOSED) return; in h2_send_end_stream()
2951 r->h2state = H2_STATE_HALF_CLOSED_REMOTE; in h2_con_upgrade_h2c()