From: Yann Ylavic Date: Wed, 6 May 2020 19:52:47 +0000 (+0000) Subject: ap_core_input_filter(): axe unnecessary AP_MODE_SPECULATIVE test. X-Git-Tag: 2.5.0-alpha2-ci-test-only~1464 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9945c13eee5c0a51eceb44665894fed0db4d354;p=thirdparty%2Fapache%2Fhttpd.git ap_core_input_filter(): axe unnecessary AP_MODE_SPECULATIVE test. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1877455 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core_filters.c b/server/core_filters.c index d9085e83abf..fd3cb3928dc 100644 --- a/server/core_filters.c +++ b/server/core_filters.c @@ -314,7 +314,7 @@ apr_status_t ap_core_input_filter(ap_filter_t *f, apr_bucket_brigade *b, 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);