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

Function h2_session_dispatch_event

modules/http2/h2_session.c:1772–1820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1770}
1771
1772void h2_session_dispatch_event(h2_session *session, h2_session_event_t ev,
1773 apr_status_t arg, const char *msg)
1774{
1775 switch (ev) {
1776 case H2_SESSION_EV_INIT:
1777 h2_session_ev_init(session, arg, msg);
1778 break;
1779 case H2_SESSION_EV_INPUT_PENDING:
1780 h2_session_ev_input_pending(session, arg, msg);
1781 break;
1782 case H2_SESSION_EV_INPUT_EXHAUSTED:
1783 h2_session_ev_input_exhausted(session, arg, msg);
1784 break;
1785 case H2_SESSION_EV_LOCAL_GOAWAY:
1786 h2_session_ev_local_goaway(session, arg, msg);
1787 break;
1788 case H2_SESSION_EV_REMOTE_GOAWAY:
1789 h2_session_ev_remote_goaway(session, arg, msg);
1790 break;
1791 case H2_SESSION_EV_CONN_ERROR:
1792 h2_session_ev_conn_error(session, arg, msg);
1793 break;
1794 case H2_SESSION_EV_PROTO_ERROR:
1795 h2_session_ev_proto_error(session, arg, msg);
1796 break;
1797 case H2_SESSION_EV_CONN_TIMEOUT:
1798 h2_session_ev_conn_timeout(session, arg, msg);
1799 break;
1800 case H2_SESSION_EV_NGH2_DONE:
1801 h2_session_ev_ngh2_done(session, arg, msg);
1802 break;
1803 case H2_SESSION_EV_MPM_STOPPING:
1804 h2_session_ev_mpm_stopping(session, arg, msg);
1805 break;
1806 case H2_SESSION_EV_PRE_CLOSE:
1807 h2_session_ev_pre_close(session, arg, msg);
1808 break;
1809 case H2_SESSION_EV_NO_MORE_STREAMS:
1810 h2_session_ev_no_more_streams(session);
1811 break;
1812 case H2_SESSION_EV_BAD_CLIENT:
1813 h2_session_ev_bad_client(session, arg, msg);
1814 break;
1815 default:
1816 ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, session->c1,
1817 H2_SSSN_MSG(session, "unknown event %d"), ev);
1818 break;
1819 }
1820}
1821
1822static void unblock_c1_out(h2_session *session) {
1823 int sid;

Callers 9

h2_stream.cFile · 0.85
stream_data_cbFunction · 0.85
h2_c1_readFunction · 0.85
h2_session_eventFunction · 0.85
on_frame_recv_cbFunction · 0.85
h2_session_shutdownFunction · 0.85
h2_session_sendFunction · 0.85
h2_session_processFunction · 0.85
h2_session_pre_closeFunction · 0.85

Tested by

no test coverage detected