tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51142] Offer possible resolution of StringIndexOutOfBoundsException in Request.updateCounters when AJP packetSize is too small.
Date Wed, 04 May 2011 17:39:15 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51142

Mark Thomas <markt@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All

--- Comment #1 from Mark Thomas <markt@apache.org> 2011-05-04 17:39:15 UTC ---
Putting a try/catch around the symptom is not the best way to handle this.

It should be possible to identify when packet length > buffer, log a suitable
message at an appropriate level, ensure a 400 is recorded in the access log
(probably only possible in Tomcat 7) and close the connection.

-- 
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


Mime
View raw message