https://issues.apache.org/bugzilla/show_bug.cgi?id=51665
Bug #: 51665
Summary: Inconsistent documentation of LimitRequestLine and
friends.
Product: Apache httpd-2
Version: 2.2.17
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: Documentation
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
According to the on-line docs
(http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestline),
LimitRequestLine can be used to lower or *raise* the maximum line
limit:
The LimitRequestLine directive allows the server administrator to
reduce or increase the limit on the allowed size of a client's
HTTP request-line.
However, the doxygen documentation says that it can only be used to
*lower* the default line buffer size; indeed, in file
`include/httpd.h` in the Apache 2.2.17 sources, at lines 185--189 it
says:
Internal buffer sizes are two bytes more than the
DEFAULT_LIMIT_REQUEST_LINE
and DEFAULT_LIMIT_REQUEST_FIELDSIZE below, which explains the 8190.
These two limits can be lowered (but not raised) by the server config
directives LimitRequestLine and LimitRequestFieldsize, respectively.
Which one is correct?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]