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

Function ev_init

modules/http2/h2_proxy_session.c:1230–1246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1228}
1229
1230static void ev_init(h2_proxy_session *session, int arg, const char *msg)
1231{
1232 switch (session->state) {
1233 case H2_PROXYS_ST_INIT:
1234 if (h2_proxy_ihash_empty(session->streams)) {
1235 transit(session, "init", H2_PROXYS_ST_IDLE);
1236 }
1237 else {
1238 transit(session, "init", H2_PROXYS_ST_BUSY);
1239 }
1240 break;
1241
1242 default:
1243 /* nop */
1244 break;
1245 }
1246}
1247
1248static void ev_local_goaway(h2_proxy_session *session, int arg, const char *msg)
1249{

Callers 1

dispatch_eventFunction · 0.85

Calls 2

h2_proxy_ihash_emptyFunction · 0.85
transitFunction · 0.70

Tested by

no test coverage detected