Commit 6c2797a7 authored by Greg Ames's avatar Greg Ames
Browse files

whoops! can't use the return code to pass the length up the filter chain.

with this and a request line that goes on forever, I now get:

[Wed Oct 31 17:45:45 2001] [error] [client 127.0.0.1] request failed:
URI too long

...in the error log, and a 414 in the access log.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91715 13f79535-47bb-0310-9956-ffa450edef68
parent 5d629ee1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2938,8 +2938,8 @@ static int core_input_filter(ap_filter_t *f, apr_bucket_brigade *b, ap_input_mod
        *readbytes += len;
        /* We didn't find an APR_ASCII_LF within the predefined maximum
         * line length. */
        if (len >= HUGE_STRING_LEN) {
            return len;
        if (*readbytes >= HUGE_STRING_LEN) {
            break;
        }
    }