Commit 7fb58a2b authored by Justin Erenkrantz's avatar Justin Erenkrantz
Browse files

Yeah, let's just return this segment to how it was a few hours ago.

If the status code is anything other than SUCCESS for PEEK, it isn't
good.  Just return the value.

(I thought it should be this, but I wasn't 100% sure.  Peer review == good.)

Submitted by:	Will Rowe


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91404 13f79535-47bb-0310-9956-ffa450edef68
parent 90b9271e
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -2805,10 +2805,7 @@ static int core_input_filter(ap_filter_t *f, apr_bucket_brigade *b, ap_input_mod

            rv = apr_bucket_read(e, &str, &len, APR_NONBLOCK_READ);

            if (APR_STATUS_IS_EAGAIN(rv)) {
                return APR_EOF;
            }
            else if (rv != APR_SUCCESS)
            if (rv != APR_SUCCESS)
                return rv;

            c = str;