You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2018/02/16 12:31:28 UTC

svn commit: r1824454 - /httpd/httpd/trunk/server/mpm/event/event.c

Author: ylavic
Date: Fri Feb 16 12:31:28 2018
New Revision: 1824454

URL: http://svn.apache.org/viewvc?rev=1824454&view=rev
Log:
mpm_event: follow up to r1823047.

Update clogged counter on read_request retry too.


Modified:
    httpd/httpd/trunk/server/mpm/event/event.c

Modified: httpd/httpd/trunk/server/mpm/event/event.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/event/event.c?rev=1824454&r1=1824453&r2=1824454&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/event/event.c (original)
+++ httpd/httpd/trunk/server/mpm/event/event.c Fri Feb 16 12:31:28 2018
@@ -1078,14 +1078,14 @@ static void process_socket(apr_thread_t
              * where they would otherwise read, or read where they would
              * otherwise write, should set the sense appropriately.
              */
+read_request:
             if (clogging) {
                 apr_atomic_inc32(&clogged_count);
             }
-read_request:
             rc = ap_run_process_connection(c);
             if (clogging) {
                 apr_atomic_dec32(&clogged_count);
-                clogging = 0;
+                clogging = c->clogging_input_filters;
             }
             if (cs->pub.state > CONN_STATE_LINGER) {
                 cs->pub.state = CONN_STATE_LINGER;