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

Function ev_conn_error

modules/http2/h2_proxy_session.c:1282–1298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1280}
1281
1282static void ev_conn_error(h2_proxy_session *session, int arg, const char *msg)
1283{
1284 switch (session->state) {
1285 case H2_PROXYS_ST_INIT:
1286 case H2_PROXYS_ST_DONE:
1287 case H2_PROXYS_ST_LOCAL_SHUTDOWN:
1288 /* just leave */
1289 transit(session, "conn error", H2_PROXYS_ST_DONE);
1290 break;
1291
1292 default:
1293 ap_log_cerror(APLOG_MARK, APLOG_TRACE1, arg, session->c,
1294 "h2_proxy_session(%s): conn error -> shutdown", session->id);
1295 session_shutdown(session, arg, msg);
1296 break;
1297 }
1298}
1299
1300static void ev_proto_error(h2_proxy_session *session, int arg, const char *msg)
1301{

Callers 1

dispatch_eventFunction · 0.85

Calls 2

session_shutdownFunction · 0.85
transitFunction · 0.70

Tested by

no test coverage detected