]> granicus.if.org Git - apache/commitdiff
We already accept 80 bytes less than the client body's anticipated
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 8 Aug 2005 03:12:24 +0000 (03:12 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 8 Aug 2005 03:12:24 +0000 (03:12 +0000)
  size, so we don't need to also prefetch an extra 1024 bytes; this
  was redundant.

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

modules/proxy/mod_proxy_http.c

index 8d9822dd24197027decf21dd8718a68065b1382d..82013ef4e0d39d7b072924848f619c42cfa4192c 100644 (file)
@@ -821,7 +821,7 @@ apr_status_t ap_proxy_http_request(apr_pool_t *p, request_rec *r,
     do {
         status = ap_get_brigade(r->input_filters, temp_brigade,
                                 AP_MODE_READBYTES, APR_BLOCK_READ,
-                                MAX_MEM_SPOOL + 1024 - bytes_read);
+                                MAX_MEM_SPOOL - bytes_read);
         if (status != APR_SUCCESS) {
             ap_log_error(APLOG_MARK, APLOG_ERR, status, r->server,
                          "proxy: prefetch request body failed to %pI (%s)"