hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r411109 - /jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/params/HttpConnectionParams.java
Date Fri, 02 Jun 2006 09:36:19 GMT
Author: olegk
Date: Fri Jun  2 02:36:19 2006
New Revision: 411109

URL: http://svn.apache.org/viewvc?rev=411109&view=rev
Log:
Fix for bug HTTPCORE-4: optional header limits to contain OOME risks

Improved javadoc

Modified:
    jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/params/HttpConnectionParams.java

Modified: jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/params/HttpConnectionParams.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/params/HttpConnectionParams.java?rev=411109&r1=411108&r2=411109&view=diff
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/params/HttpConnectionParams.java
(original)
+++ jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/params/HttpConnectionParams.java
Fri Jun  2 02:36:19 2006
@@ -108,8 +108,9 @@
     public static final String STALE_CONNECTION_CHECK = "http.connection.stalecheck"; 
 
     /**
-     * Determines the maximum line length limit. If set, any HTTP line exceeding this
-     * limit will cause an IOException
+     * Determines the maximum line length limit. If set to a positive value, any HTTP 
+     * line exceeding this limit will cause an IOException. A negative or zero value
+     * will effectively disable the check.
      * <p>
      * This parameter expects a value of type {@link Integer}.
      * </p>
@@ -117,9 +118,10 @@
     public static final String MAX_LINE_LENGTH = "http.connection.max-line-length";
     
     /**
-     * Determines the maximum HTTP header count allowed. If set, the number of HTTP 
-     * headers received from the data stream exceeding this limit will cause an 
-     * IOException 
+     * Determines the maximum HTTP header count allowed. If set to a positive value, 
+     * the number of HTTP headers received from the data stream exceeding this limit 
+     * will cause an IOException. A negative or zero value will effectively disable 
+     * the check. 
      * <p>
      * This parameter expects a value of type {@link Integer}.
      * </p>



Mime
View raw message