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

Function ev_proto_error

modules/http2/h2_proxy_session.c:1300–1315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1298}
1299
1300static void ev_proto_error(h2_proxy_session *session, int arg, const char *msg)
1301{
1302 switch (session->state) {
1303 case H2_PROXYS_ST_DONE:
1304 case H2_PROXYS_ST_LOCAL_SHUTDOWN:
1305 /* just leave */
1306 transit(session, "proto error", H2_PROXYS_ST_DONE);
1307 break;
1308
1309 default:
1310 ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, session->c,
1311 "h2_proxy_session(%s): proto error -> shutdown", session->id);
1312 session_shutdown(session, arg, msg);
1313 break;
1314 }
1315}
1316
1317static void ev_conn_timeout(h2_proxy_session *session, int arg, const char *msg)
1318{

Callers 1

dispatch_eventFunction · 0.85

Calls 2

session_shutdownFunction · 0.85
transitFunction · 0.70

Tested by

no test coverage detected