tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat 7 + exception while adding cookies
Date Wed, 30 Nov 2011 17:41:11 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin,

On 11/30/11 12:11 PM, Martin Kuen wrote:
> Try setting"maxHttpHeaderSize" for the <Connector/>  in your 
> server.xml. Its default value is 8192 bytes. I guess you're
> exceeding this limit.

+1

If you have a lot of cookies or if you are sending SSL certification
chains which tend to get long, you may run into this problem.

Honestly, Tomcat should probably be doing bounds-checking and emitting
a better error message in this case.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7WarcACgkQ9CaO5/Lv0PDYqgCdEDThHZnVWixafAzaBsBK2nj2
kKEAnigmNp+6k5xM1LlIucMAl5vM2rUh
=JFez
-----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