From cf16de9220222ce32d9e7a224cc122eeb439679b Mon Sep 17 00:00:00 2001 From: Justin Erenkrantz Date: Sun, 20 Jan 2002 18:53:31 +0000 Subject: [PATCH] When doing input filtering, get out the way of anything that we don't want to be explicitly involved in. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92946 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 862194c175..ce208c0170 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -540,8 +540,8 @@ apr_status_t ap_http_filter(ap_filter_t *f, apr_bucket_brigade *b, http_ctx_t *ctx = f->ctx; apr_status_t rv; - /* just get out of the way of this thing. */ - if (mode == AP_MODE_EATCRLF) { + /* just get out of the way of things we don't want. */ + if (mode != AP_MODE_READBYTES && mode != AP_MODE_GETLINE) { return ap_get_brigade(f->next, b, mode, block, readbytes); } -- 2.40.0