-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris,

On 3/11/2011 10:19 AM, Chris wrote:
> 1. Yes, tomcat is sending the header: "Transfer-Encoding: chunked"

Okay. Does that happen even for HTTP 1.0? Is so, that looks like a spec
violation to me.

> 2. I've also tried using close() instead of flush() and I've seen the same 
> chunked encoding.

Why are you doing either of those things? Tomcat can properly flush and
close the response stream as necessary. It also makes your code simpler.

> 3. The nginx reverse proxying with the HttpProxyModule only supports HTTP/1.0 
> according to the "Synopsis" section here: 
> http://wiki.nginx.org/HttpProxyModule

:(


> Based on my reading of the HTTP spec, closing the connection seems to
> be a valid alternative to sending the terminating "0\r\n\r\n". Any
> ideas about why the connection wouldn't be closed when using APR?

I have no idea. Have you tried the NIO connector just to see how it behaves?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk16nAUACgkQ9CaO5/Lv0PAonQCdEum8fdBShLDv1G+X6+mzbyhL
yiAAn2BW77VRtbx5soAyjj8yBG0LGNfx
=89V7
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to