https://issues.apache.org/bugzilla/show_bug.cgi?id=44574





--- Comment #3 from Takashi Sato <[EMAIL PROTECTED]>  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to