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

Function on_event

modules/http2/h2_stream.c:167–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167static int on_event(h2_stream* stream, h2_stream_event_t ev)
168{
169 H2_STRM_ASSERT_MAGIC(stream, H2_STRM_MAGIC_OK);
170 if (stream->monitor && stream->monitor->on_event) {
171 stream->monitor->on_event(stream->monitor->ctx, stream, ev);
172 }
173 if (ev < H2_ALEN(trans_on_event)) {
174 return on_map(stream->state, trans_on_event[ev]);
175 }
176 return stream->state;
177}
178
179static ssize_t stream_data_cb(nghttp2_session *ng2s,
180 int32_t stream_id,

Callers 3

h2_stream_dispatchFunction · 0.70
h2_stream_send_frameFunction · 0.70
h2_stream_recv_frameFunction · 0.70

Calls 1

on_mapFunction · 0.85

Tested by

no test coverage detected