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

Function h2_stream_cleanup

modules/http2/h2_stream.c:615–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613}
614
615void h2_stream_cleanup(h2_stream *stream)
616{
617 /* Stream is done on c1. There might still be processing on a c2
618 * going on. The input/output beams get aborted and the stream's
619 * end of the in/out notifications get closed.
620 */
621 ap_assert(stream);
622 H2_STRM_ASSERT_MAGIC(stream, H2_STRM_MAGIC_OK);
623 if (stream->out_buffer) {
624 apr_brigade_cleanup(stream->out_buffer);
625 }
626}
627
628void h2_stream_destroy(h2_stream *stream)
629{

Callers 1

m_stream_cleanupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected