MCPcopy Create free account
hub / github.com/apache/httpd / h2_stream_rst

Function h2_stream_rst

modules/http2/h2_stream.c:638–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

636}
637
638void h2_stream_rst(h2_stream *stream, int error_code)
639{
640 H2_STRM_ASSERT_MAGIC(stream, H2_STRM_MAGIC_OK);
641 stream->rst_error = error_code;
642 if (stream->c2) {
643 h2_c2_abort(stream->c2, stream->session->c1);
644 }
645 ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, stream->session->c1,
646 H2_STRM_MSG(stream, "reset, error=%d"), error_code);
647 h2_stream_dispatch(stream, H2_SEV_CANCELLED);
648}
649
650apr_status_t h2_stream_set_request_rec(h2_stream *stream,
651 request_rec *r, int eos)

Callers 15

on_state_invalidFunction · 0.85
h2_stream_recv_frameFunction · 0.85
h2_stream_add_headerFunction · 0.85
stream_do_error_bucketFunction · 0.85
h2_stream.cFile · 0.85
stream_data_cbFunction · 0.85
stream_do_responsesFunction · 0.85
m_stream_cancel_iterFunction · 0.85
h2_mplx_c1_processFunction · 0.85
h2_mplx_c1_client_rstFunction · 0.85

Calls 2

h2_c2_abortFunction · 0.85
h2_stream_dispatchFunction · 0.85

Tested by

no test coverage detected