tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: How to disable chunked encoding for the Http11NioProtocol connector.
Date Thu, 06 Jan 2011 17:12:37 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ilya,

On 1/5/2011 4:29 PM, ilya goberman wrote:
> I was thinking more about it. What if Tomcat disables chunked
> encoding if response contains "Connection: close" header.

I think that's what Mark has suggested several times, now:

On 1/5/2011 12:54 PM, Mark Thomas wrote:
> As I said, an enhancement request to optionally use a non-chunked 
> response when keep-alive is disabled is - in my view - a reasonable
> one.

On 1/5/2011 4:29 PM, ilya goberman wrote:
> So in order
> to disable the encoding the Tomcat application will have to set just
> one response header.

... and set a configuration parameter in Tomcat to enable this feature.
Apparently, the feature as you describe it was a problem fixed in a
previous version of Tomcat and won't be reverted unless a serious
regression is identified. Mark is offering to allow configuration to
re-enable this behavior.

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

iEYEARECAAYFAk0l+AUACgkQ9CaO5/Lv0PAFbwCeNzfxtyfbDFvvzdKekcVCkSTC
FQ0AoI4kc2YFrKta7Q+TFL8Cap68fc3z
=j0Ua
-----END PGP SIGNATURE-----

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


Mime
View raw message