Commit 5544c476 authored by Nick Kew's avatar Nick Kew
Browse files

PR 31759 (mutated) - reported by Jo Rhett

Don't return apr_status_t error value from input filter chain.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@442758 13f79535-47bb-0310-9956-ffa450edef68
parent 8c630830
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -837,7 +837,9 @@ static int cgi_handler(request_rec *r)
                            APR_BLOCK_READ, HUGE_STRING_LEN);

        if (rv != APR_SUCCESS) {
            return rv;
            ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
                          "Error reading request entity data");
            return HTTP_INTERNAL_SERVER_ERROR;
        }

        for (bucket = APR_BRIGADE_FIRST(bb);
+3 −1
Original line number Diff line number Diff line
@@ -1387,7 +1387,9 @@ static int cgid_handler(request_rec *r)
                            APR_BLOCK_READ, HUGE_STRING_LEN);

        if (rv != APR_SUCCESS) {
            return rv;
            ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
                          "Error reading request entity data");
            return HTTP_INTERNAL_SERVER_ERROR;
        }

        for (bucket = APR_BRIGADE_FIRST(bb);