From 4f4b5005f95e11c00cd9daaa3b38d7fa17a2338e Mon Sep 17 00:00:00 2001 From: boris Date: Wed, 20 May 2015 16:56:39 +0000 Subject: [PATCH] Fix REQUEST_METHOD_MAX_LENGTH initialization. --- src/org/ice4j/socket/HttpDemuxFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/ice4j/socket/HttpDemuxFilter.java b/src/org/ice4j/socket/HttpDemuxFilter.java index 1cfd698..669b783 100644 --- a/src/org/ice4j/socket/HttpDemuxFilter.java +++ b/src/org/ice4j/socket/HttpDemuxFilter.java @@ -75,7 +75,7 @@ public class HttpDemuxFilter // Gather statistics about the supported HTTP request methods in order // to speed up the analysis of DatagramPackets later on. char maxChar = 'A'; - int maxLength = Integer.MAX_VALUE; + int maxLength = Integer.MIN_VALUE; char minChar = 'Z'; Charset ascii = Charset.forName("US-ASCII");