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 2020/05/06 19:52:47 UTC

svn commit: r1877455 - /httpd/httpd/trunk/server/core_filters.c

Author: ylavic
Date: Wed May  6 19:52:47 2020
New Revision: 1877455

URL: http://svn.apache.org/viewvc?rev=1877455&view=rev
Log:
ap_core_input_filter(): axe unnecessary AP_MODE_SPECULATIVE test.

Modified:
    httpd/httpd/trunk/server/core_filters.c

Modified: httpd/httpd/trunk/server/core_filters.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core_filters.c?rev=1877455&r1=1877454&r2=1877455&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core_filters.c (original)
+++ httpd/httpd/trunk/server/core_filters.c Wed May  6 19:52:47 2020
@@ -314,7 +314,7 @@ apr_status_t ap_core_input_filter(ap_fil
         if (mode == AP_MODE_READBYTES) {
             APR_BRIGADE_CONCAT(b, ctx->bb);
         }
-        else if (mode == AP_MODE_SPECULATIVE) {
+        else { /* mode == AP_MODE_SPECULATIVE */
             apr_bucket *copy_bucket;
 
             for (e = APR_BRIGADE_FIRST(ctx->bb);