]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mpm_event,mod_http2,mod_status: Follow up to r1918257: CONN_STATE_ASYNC_WAITIO.
authorYann Ylavic <ylavic@apache.org>
Fri, 21 Jun 2024 09:48:12 +0000 (09:48 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 21 Jun 2024 09:48:12 +0000 (09:48 +0000)
commit67c65983d5360c662a44af180181ece5f5bd628e
tree370e2431fbcbaeac8f31b7d40f43b79e521b1a00
parente90af7e9e38ae7f9b46f4023275d6c64ffc57592
mpm_event,mod_http2,mod_status: Follow up to r1918257: CONN_STATE_ASYNC_WAITIO.

Per discussion on PR #449, have a separate state for returning the connection
to the MPM to wait for an IO (namely CONN_STATE_ASYNC_WAITIO), rather than
(ab)using CONN_STATE_PROCESSING.

This removes the need for AGAIN added in r1918257 (for now), and AP_MPMQ_CAN_AGAIN
is renamed to AP_MPMQ_CAN_WAITIO.

This is also the state that mod_status accounts for, so rename ->processing
to ->wait_io in process_score (shows as "wait-io" in mod_status and mod_lua).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918482 13f79535-47bb-0310-9956-ffa450edef68
include/ap_mmn.h
include/ap_mpm.h
include/httpd.h
include/scoreboard.h
modules/generators/mod_status.c
modules/http2/h2_c1.c
modules/lua/lua_request.c
server/mpm/event/event.c