You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/06/04 00:35:11 UTC
DO NOT REPLY [Bug 51142] Offer possible resolution of
StringIndexOutOfBoundsException in Request.updateCounters when AJP packetSize
is too small.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51142
--- Comment #4 from Mark Thomas <ma...@apache.org> 2011-06-03 22:35:11 UTC ---
No, you missed the key point in my review comment. Putting a try/catch around
the point where the error is first seen is the wrong approach. The right
approach is detecting when the packet length > buffer length and taking the
appropriate action at that point (500 response, log message etc.)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org