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

Function h2_session_ev_conn_error

modules/http2/h2_session.c:1543–1560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1541}
1542
1543static void h2_session_ev_conn_error(h2_session *session, int arg, const char *msg)
1544{
1545 switch (session->state) {
1546 case H2_SESSION_ST_INIT:
1547 case H2_SESSION_ST_DONE:
1548 /* just leave */
1549 transit(session, "conn error", H2_SESSION_ST_DONE);
1550 break;
1551
1552 default:
1553 ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, session->c1,
1554 H2_SSSN_LOG(APLOGNO(03401), session,
1555 "conn error -> shutdown, remote.emitted=%d"),
1556 (int)session->remote.emitted_count);
1557 h2_session_shutdown(session, arg, msg, 0);
1558 break;
1559 }
1560}
1561
1562static void h2_session_ev_proto_error(h2_session *session, int arg, const char *msg)
1563{

Callers 1

Calls 2

h2_session_shutdownFunction · 0.85
transitFunction · 0.70

Tested by

no test coverage detected