You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Jones, Huw" <Hu...@globalcrossing.com> on 2003/10/23 16:24:57 UTC

[users@httpd] mod_proxy buffers small frames before forwarding them to client

I and several other users on the web have encountered a problem using the
mod_proxy module with apache http server 1.3.28 (and 1.3.27) when a separate
web server application sends data in small packets over an open connection.

After the client application's initial request through the httpd proxy,
httpd successfully establishes a port 80 connection to the back-end web
server.  The server application then pushes data in small (approx 180 bytes)
frames back to the httpd proxy.  However, the httpd proxy does not send this
data back to the client until it has reached a certain threshold (approx
4860 bytes in this case).  It can take some time for that amount of data to
be generated. The result is that the client application receives data in
buffered bursts when in fact the data in these small frames is required in
real time.

I do not want to reduce the IO buffers to forward data on a more frequent
basis - that just decreases performance when shifting large files through
the proxy. Ideally it should be set to forward frames 'as received'. Can
this be done?

Thanks,
Huw.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org