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

Function on_stream_input

modules/http2/h2_session.c:1385–1400  ·  view source on GitHub ↗

* A streams input state has changed. */

Source from the content-addressed store, hash-verified

1383 * A streams input state has changed.
1384 */
1385static void on_stream_input(void *ctx, h2_stream *stream)
1386{
1387 h2_session *session = ctx;
1388
1389 ap_assert(stream);
1390 ap_log_cerror(APLOG_MARK, APLOG_TRACE2, 0, session->c1,
1391 H2_STRM_MSG(stream, "on_input change"));
1392 update_child_status(session, SERVER_BUSY_READ, "read", stream);
1393 if (stream->id == 0) {
1394 /* input on primary connection available? read */
1395 h2_c1_read(session);
1396 }
1397 else {
1398 h2_stream_on_input_change(stream);
1399 }
1400}
1401
1402/**
1403 * A streams output state has changed.

Callers 1

mplx_pollset_pollFunction · 0.85

Calls 3

update_child_statusFunction · 0.85
h2_c1_readFunction · 0.85

Tested by

no test coverage detected