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

Function on_frame

modules/http2/h2_stream.c:146–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146static int on_frame(h2_stream_state_t state, int frame_type,
147 int frame_map[][H2_SS_MAX], apr_size_t maxlen)
148{
149 ap_assert(frame_type >= 0);
150 ap_assert(state >= 0);
151 if ((apr_size_t)frame_type >= maxlen) {
152 return state; /* NOP, ignore unknown frame types */
153 }
154 return on_map(state, frame_map[frame_type]);
155}
156
157static int on_frame_send(h2_stream_state_t state, int frame_type)
158{

Callers 2

on_frame_sendFunction · 0.85
on_frame_recvFunction · 0.85

Calls 1

on_mapFunction · 0.85

Tested by

no test coverage detected