httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r230739 - /httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
Date Mon, 08 Aug 2005 03:12:28 GMT
Author: wrowe
Date: Sun Aug  7 20:12:24 2005
New Revision: 230739

URL: http://svn.apache.org/viewcvs?rev=230739&view=rev
Log:

  We already accept 80 bytes less than the client body's anticipated 
  size, so we don't need to also prefetch an extra 1024 bytes; this
  was redundant.


Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_http.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/mod_proxy_http.c?rev=230739&r1=230738&r2=230739&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_http.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Sun Aug  7 20:12:24 2005
@@ -821,7 +821,7 @@
     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)"



Mime
View raw message