Max line length of only 10k? This is 2012

This commit is contained in:
Jamie Cameron
2012-12-06 10:51:45 -08:00
parent 743df94d1b
commit 16abebcb74

View File

@@ -2892,7 +2892,7 @@ sub read_line
local ($nowait, $nolimit) = @_;
local($idx, $more, $rv);
while(($idx = index($main::read_buffer, "\n")) < 0) {
if (length($main::read_buffer) > 10000 && !$nolimit) {
if (length($main::read_buffer) > 100000 && !$nolimit) {
&http_error(414, "Request too long",
"Received excessive line <pre>$main::read_buffer</pre>");
}