diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-02-11 21:25:57 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-02-11 21:25:57 +0100 |
commit | 379e22a4c0c00193b16fec3c46c4b68cdb63ee1a (patch) | |
tree | a7000e91d520d939e50c0e87243907f456643cb7 /methods/http.cc | |
parent | dd61e64da1fbae01dc82bab3635c946718cc0eb0 (diff) |
remove the arbitrary MAXLEN limit for response lines (Closes: #658346)
Diffstat (limited to 'methods/http.cc')
-rw-r--r-- | methods/http.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/methods/http.cc b/methods/http.cc index 2721b1224..7ddf8e045 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -534,10 +534,6 @@ bool ServerState::HeaderLine(string Line) if (Line.empty() == true) return true; - // The http server might be trying to do something evil. - if (Line.length() >= MAXLEN) - return _error->Error(_("Got a single header line over %u chars"),MAXLEN); - string::size_type Pos = Line.find(' '); if (Pos == string::npos || Pos+1 > Line.length()) { |