* A streams input state has changed. */
| 1383 | * A streams input state has changed. |
| 1384 | */ |
| 1385 | static 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. |
no test coverage detected