tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1196175 - /tomcat/trunk/java/org/apache/catalina/connector/Request.java
Date Tue, 01 Nov 2011 18:06:16 GMT
Author: kkolinko
Date: Tue Nov  1 18:06:16 2011
New Revision: 1196175

URL: http://svn.apache.org/viewvc?rev=1196175&view=rev
Log:
Make sure that ISE thrown by parseParts() or by addParameter() is remembered and rethrown
when getParts() is called.

Modified:
    tomcat/trunk/java/org/apache/catalina/connector/Request.java

Modified: tomcat/trunk/java/org/apache/catalina/connector/Request.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/Request.java?rev=1196175&r1=1196174&r2=1196175&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/connector/Request.java (original)
+++ tomcat/trunk/java/org/apache/catalina/connector/Request.java Tue Nov  1 18:06:16 2011
@@ -2584,6 +2584,9 @@ public class Request
             partsParseException = new IllegalStateException(e);
         } catch (FileUploadException e) {
             partsParseException = new IOException(e);
+        } catch (IllegalStateException e) {
+            checkSwallowInput();
+            partsParseException = e;
         }
 
         return;



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


Mime
View raw message