| 636 | } |
| 637 | |
| 638 | void 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 | |
| 650 | apr_status_t h2_stream_set_request_rec(h2_stream *stream, |
| 651 | request_rec *r, int eos) |
no test coverage detected