www-modproxy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: [PATCH] Enable HTTP tunneling for streaming data where data is le ss than the buffering size
Date Sat, 03 May 2003 17:23:02 GMT
Conti, Chris wrote:

> We ran into a situation where a command-response protocol was being tunneled
> through HTTP (2 sockets 1 is an HTTP GET, the other an HTTP POST) that
> failed when passed through an Apache reverse proxy.  The HTTP requests are
> marked with keep-alive, but when the data passing from the server <
> AP_MIN_BYTES_TO_WRITE (8000 decimal) then the bucket brigade buffers the
> data instead of passing it on.
> 
> The guts of the patch are basically appending a flush bucket after every
> read(unless there is already an EOS) if the ProxyWriteThrough directive is
> set to On

This seems reasonable - typically Apache might want to buffer the 
response, but sometimes Apache shouldn't.

Can you post this patch for consideration on the dev@httpd.apache.org 
mailing list?

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."


Mime
View raw message