Plüm wrote:


+1 I will try to check it once you have proposed it and give it
a quick vote.

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

I haven't tried yet, but IMHO it should already work for non-chunked
content. Is this not the case?


Not according to my tests. The simple server push still
buffers the data.

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.

Although I introduced the flushwait solution for ajp (which is partly
obsolete with later Tomcats thanks to your patch which takes empty
ajp chunk messages as a flushing request) and still think it is a good idea
I like the approach of mod_proxy_http even more as it works without further
configuration and is even smarter.


flushwait still works with older Tomcat versions that do not send
a separate 'explicit flush' packet, and IMHO that is the only solution
for http. I'm not speaking here about Tomcat, but a generic standalone
backends and http/1.0 clients that have problems with chunked encodings.

Anyhow, I'll commit a patch to the trunk for http, cause its
configurable by flushwait and skipped otherwise.

Regards,
Mladen.

Reply via email to