httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44574] Wrong behavior of the ProxyIOBufferSize directive
Date Fri, 14 Mar 2008 15:46:01 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44574





--- Comment #3 from Takashi Sato <serai@lans-tv.com>  2008-03-14 08:46:00 PST ---
In 2.2.x both proxy_server_conf's and proxy_worker's io_buffer_size need to be
fixed, don't they?


--- mod_proxy.c.orig
+++ mod_proxy.c
@@ -148,7 +148,7 @@
     }
     else if (!strcasecmp(key, "iobuffersize")) {
         long s = atol(val);
-        worker->io_buffer_size = ((s > AP_IOBUFSIZE) ? s : AP_IOBUFSIZE);
+        worker->io_buffer_size = ((s < AP_IOBUFSIZE) ? s : AP_IOBUFSIZE);
         worker->io_buffer_size_set = 1;
     }
     else if (!strcasecmp(key, "receivebuffersize")) {
@@ -1467,7 +1467,7 @@
     ap_get_module_config(parms->server->module_config, &proxy_module);
     long s = atol(arg);

-    psf->io_buffer_size = ((s > AP_IOBUFSIZE) ? s : AP_IOBUFSIZE);
+    psf->io_buffer_size = ((s < AP_IOBUFSIZE) ? s : AP_IOBUFSIZE);
     psf->io_buffer_size_set = 1;
     return NULL;
 }


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message