]> granicus.if.org Git - apache/commitdiff
mod_proxy_http: revert spurious comment from r1853953.
authorYann Ylavic <ylavic@apache.org>
Wed, 20 Feb 2019 12:53:06 +0000 (12:53 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 20 Feb 2019 12:53:06 +0000 (12:53 +0000)
No, if we read more bytes than the C-L there is really something wrong in
our (or some) HTTP input filter.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1853956 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_http.c

index 84023e27101a603eb1df243bfbecd8859cafe0fc..8bd5e2d5e2da7f61e9ec5a07492be8284d5d0246 100644 (file)
@@ -383,7 +383,6 @@ static int stream_reqbody(proxy_http_req_t *req, rb_methods rb_method)
                               "(got %" APR_OFF_T_FMT ", expected "
                               "%" APR_OFF_T_FMT ")",
                               bytes_streamed, req->cl_val);
-                /* XXX: probably more a HTTP_BAD_REQUEST (like below) */
                 return HTTP_INTERNAL_SERVER_ERROR;
             }