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

Function is_accepting_streams

modules/http2/h2_proxy_session.c:1209–1219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1207}
1208
1209static int is_accepting_streams(h2_proxy_session *session)
1210{
1211 switch (session->state) {
1212 case H2_PROXYS_ST_IDLE:
1213 case H2_PROXYS_ST_BUSY:
1214 case H2_PROXYS_ST_WAIT:
1215 return 1;
1216 default:
1217 return 0;
1218 }
1219}
1220
1221static void transit(h2_proxy_session *session, const char *action,
1222 h2_proxys_state nstate)

Callers 1

ev_no_ioFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected