mod_proxy, content-length and flushpackets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm running apache 2.2.4 with mod_proxy and I'm trying to make a Comet service hosted by a backend Tomcat 6.0.13 server work.

I have the following line in my httpd.conf:

ProxyPass /mycometservice http://127.0.0.1:8080/mycometservice flushpackets=on

However, mod_proxy does not seem to be flushing my packets immediately, rather it seems to be waiting for the buffer to fill (or the entire POST body to arrive, I'm not sure which of the two). The server response also seems to be buffered by mod_proxy.

I have tested my Comet service with a direct connection to Tomcat and via a Squid proxy, and in both cases it works, so it is certainly a buffering issue I'm having with mod_proxy.

Note that I do not use chunked encoding (the client and server explicitly set the Content-Length headers), nor do I want to (for compatibility reasons).

Does anybody know what the problem could be and how I could fix it?

Any hints will be greatly appreciated.

Regards,
Sebastiaan

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux