Blame SOURCES/httpd-2.4.34-CVE-2019-9511-and-9516-and-9517.patch

576df0
diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c
576df0
index 16e39be..2543693 100644
576df0
--- a/server/mpm/event/event.c
576df0
+++ b/server/mpm/event/event.c
576df0
@@ -1111,10 +1111,11 @@ read_request:
576df0
                           "network write failure in core output filter");
576df0
             cs->pub.state = CONN_STATE_LINGER;
576df0
         }
576df0
-        else if (c->data_in_output_filters) {
576df0
+        else if (c->data_in_output_filters ||
576df0
+                 cs->pub.sense == CONN_SENSE_WANT_READ) {
576df0
             /* Still in WRITE_COMPLETION_STATE:
576df0
-             * Set a write timeout for this connection, and let the
576df0
-             * event thread poll for writeability.
576df0
+             * Set a read/write timeout for this connection, and let the
576df0
+             * event thread poll for read/writeability.
576df0
              */
576df0
             cs->queue_timestamp = apr_time_now();
576df0
             notify_suspend(cs);