From: rjung Date: Wed, 9 Mar 2011 05:05:36 +0000 (+0000) Subject: Rename new method. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4927d7f3688d7af06598a06007065f2791e0e229;p=tomcat7.0 Rename new method. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1079665 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/connector/Request.java b/java/org/apache/catalina/connector/Request.java index 30d55872a..f30e7aceb 100644 --- a/java/org/apache/catalina/connector/Request.java +++ b/java/org/apache/catalina/connector/Request.java @@ -2456,7 +2456,7 @@ public class Request /** * Disable swallowing of remaining input if configured */ - protected void disableSwallowInput() { + protected void checkSwallowInput() { Context context = getContext(); if (context != null && !context.getSwallowAbortedUploads()) { coyoteRequest.action(ActionCode.DISABLE_SWALLOW_INPUT, null); @@ -2633,7 +2633,7 @@ public class Request } catch (InvalidContentTypeException e) { partsParseException = new ServletException(e); } catch (FileUploadBase.SizeException e) { - disableSwallowInput(); + checkSwallowInput(); partsParseException = new IllegalStateException(e); } catch (FileUploadException e) { partsParseException = new IOException(e); @@ -2859,7 +2859,7 @@ public class Request context.getLogger().debug( sm.getString("coyoteRequest.postTooLarge")); } - disableSwallowInput(); + checkSwallowInput(); return; } byte[] formData = null; @@ -2937,7 +2937,7 @@ public class Request if (connector.getMaxPostSize() > 0 && (body.getLength() + len) > connector.getMaxPostSize()) { // Too much data - disableSwallowInput(); + checkSwallowInput(); throw new IllegalArgumentException( sm.getString("coyoteRequest.chunkedPostTooLarge")); }