]> granicus.if.org Git - apache/commitdiff
When doing input filtering, get out the way of anything that we don't want
authorJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 20 Jan 2002 18:53:31 +0000 (18:53 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 20 Jan 2002 18:53:31 +0000 (18:53 +0000)
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

index 862194c17505279d4ae002badc104fd18836d751..ce208c0170d968d02e4e839b430d1132d2f31ebb 100644 (file)
@@ -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);
     }