| 1737 | } |
| 1738 | |
| 1739 | static void on_stream_event(void *ctx, h2_stream *stream, h2_stream_event_t ev) |
| 1740 | { |
| 1741 | h2_session *session = ctx; |
| 1742 | switch (ev) { |
| 1743 | case H2_SEV_IN_DATA_PENDING: |
| 1744 | session->input_flushed = 1; |
| 1745 | break; |
| 1746 | case H2_SEV_OUT_C1_BLOCK: |
| 1747 | h2_iq_append(session->out_c1_blocked, stream->id); |
| 1748 | break; |
| 1749 | default: |
| 1750 | /* NOP */ |
| 1751 | break; |
| 1752 | } |
| 1753 | } |
| 1754 | |
| 1755 | static void on_stream_state_event(void *ctx, h2_stream *stream, |
| 1756 | h2_stream_event_t ev) |
nothing calls this directly
no test coverage detected