List Info

Thread: mod_proxy buffering small chunks




mod_proxy buffering small chunks
user name
2007-04-11 11:42:27
I'm trying to use apache to proxy a push application, using chunked transfer encoding. The problem is that the mod_proxy buffers the server response internally and only sends the data to the client when the buffer is filled or the connection with the server is terminated.

This behavior is not adequate for push applications, where the response must be redirected instantly to the http client.

This problem was discussed a year ago:
maribor.izzy.net%3E/"> http://mail-archives.apache.org/mod_mbox/httpd-dev/200602.mbox/raw/%3C20060213204845.GA29907maribor.izzy.net%3E/



Anyone knows if this problem has been resolved?

Filipe Figueiredo - fmfig82gmail.com"> fmfig82gmail.com

Re: mod_proxy buffering small chunks
user name
2007-04-11 14:34:08

On 04/11/2007 06:42 PM, Filipe wrote:
> I'm trying to use apache to proxy a push application,
using chunked
> transfer
> encoding. The problem is that the mod_proxy buffers the
server response
> internally and only sends the data to the client when
the buffer is filled
> or the connection with the server is terminated.
> 
> This behavior is not adequate for push applications,
where the response
> must
> be redirected instantly to the http client.
> 
> This problem was discussed a year ago:
> http://mail-archives
.apache.org/mod_mbox/httpd-dev/200602.mbox/raw/%3C2006021320
4845.GA29907maribor.izzy.net%3E/

This is only fixed in trunk so far. See
http://issues.apache.org/bugzilla/show_bug.cgi?id=41056
and
http://svn.apache.org/viewvc?view=rev&revision=4801
35

Regards

Rüdiger


Re: mod_proxy buffering small chunks
country flaguser name
United States
2007-04-12 16:08:34
On Apr 11, 2007, at 3:34 PM, Ruediger Pluem wrote:

>
>
> On 04/11/2007 06:42 PM, Filipe wrote:
>> I'm trying to use apache to proxy a push
application, using chunked
>> transfer
>> encoding. The problem is that the mod_proxy buffers
the server  
>> response
>> internally and only sends the data to the client
when the buffer  
>> is filled
>> or the connection with the server is terminated.
>>
>> This behavior is not adequate for push
applications, where the  
>> response
>> must
>> be redirected instantly to the http client.
>>
>> This problem was discussed a year ago:
>> http://mail-archives.apache.org/mod_mbox/http
d-dev/200602.mbox/raw/ 
>> %3C20060213204845.GA29907maribor.izzy.net%3E/
>
> This is only fixed in trunk so far. See
> http://issues.apache.org/bugzilla/show_bug.cgi?id=41056
> and
> http://svn.apache.org/viewvc?view=rev&revision=4801
35
>

Hmmm. Looks like a backport candidate... I'll likely
do some testing and propose if it works 


Re: mod_proxy buffering small chunks
country flaguser name
Croatia
2007-04-13 00:06:49
Jim Jagielski wrote:
> 
>>
>> This is only fixed in trunk so far. See
>> http://issues.apache.org/bugzilla/show_bug.cgi?id=41056
>> and
>> http://svn.apache.org/viewvc?view=rev&revision=4801
35
>>
> 
> Hmmm. Looks like a backport candidate... I'll likely
> do some testing and propose if it works 
> 

I have another one that fixes this issues for non-chunked
content.

I've tested this and a flushwait=timeout can work very well
with
mod_proxy_http. The principle is the same as Rudiger did for
ajp.

Regards,
Mladen.

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )