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

Function on_map

modules/http2/h2_stream.c:132–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130};
131
132static int on_map(h2_stream_state_t state, int map[H2_SS_MAX])
133{
134 int op = map[state];
135 switch (op) {
136 case S_XXX:
137 case S_ERR:
138 return op;
139 case S_NOP:
140 return state;
141 default:
142 return op-1;
143 }
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)

Callers 2

on_frameFunction · 0.85
on_eventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected