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

Function ev_pre_close

modules/http2/h2_proxy_session.c:1482–1493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1480}
1481
1482static void ev_pre_close(h2_proxy_session *session, int arg, const char *msg)
1483{
1484 switch (session->state) {
1485 case H2_PROXYS_ST_DONE:
1486 case H2_PROXYS_ST_LOCAL_SHUTDOWN:
1487 /* nop */
1488 break;
1489 default:
1490 session_shutdown(session, arg, msg);
1491 break;
1492 }
1493}
1494
1495static void dispatch_event(h2_proxy_session *session, h2_proxys_event_t ev,
1496 int arg, const char *msg)

Callers 1

dispatch_eventFunction · 0.85

Calls 1

session_shutdownFunction · 0.85

Tested by

no test coverage detected