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

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