| 613 | } |
| 614 | |
| 615 | void 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 | |
| 628 | void h2_stream_destroy(h2_stream *stream) |
| 629 | { |