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

Function on_stream_event

modules/http2/h2_session.c:1739–1753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1737}
1738
1739static 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
1755static void on_stream_state_event(void *ctx, h2_stream *stream,
1756 h2_stream_event_t ev)

Callers

nothing calls this directly

Calls 1

h2_iq_appendFunction · 0.85

Tested by

no test coverage detected