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

Function h2_session_ev_input_exhausted

modules/http2/h2_session.c:1503–1524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1501}
1502
1503static void h2_session_ev_input_exhausted(h2_session *session, int arg, const char *msg)
1504{
1505 switch (session->state) {
1506 case H2_SESSION_ST_BUSY:
1507 if (!h2_session_want_send(session)) {
1508 if (session->open_streams == 0) {
1509 transit(session, "input exhausted, no streams", H2_SESSION_ST_IDLE);
1510 }
1511 else {
1512 transit(session, "input exhausted", H2_SESSION_ST_WAIT);
1513 }
1514 }
1515 break;
1516 case H2_SESSION_ST_WAIT:
1517 if (session->open_streams == 0) {
1518 transit(session, "input exhausted, no streams", H2_SESSION_ST_IDLE);
1519 }
1520 break;
1521 default:
1522 break;
1523 }
1524}
1525
1526static void h2_session_ev_local_goaway(h2_session *session, int arg, const char *msg)
1527{

Callers 1

Calls 2

h2_session_want_sendFunction · 0.85
transitFunction · 0.70

Tested by

no test coverage detected