Fix REQUEST_METHOD_MAX_LENGTH initialization.

This commit is contained in:
boris 2015-05-20 16:56:39 +00:00
parent e9398b9353
commit 4f4b5005f9

View File

@ -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");