You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2011/08/16 16:27:39 UTC

DO NOT REPLY [Bug 51665] New: Inconsistent documentation of LimitRequestLine and friends.

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: docs@httpd.apache.org
        ReportedBy: riccardo.murri@gmail.com
    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: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


DO NOT REPLY [Bug 51665] Inconsistent documentation of LimitRequestLine and friends.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51665

Rich Bowen <rb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Rich Bowen <rb...@apache.org> 2011-11-11 16:54:39 UTC ---
Clarified in r1200947.

-- 
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: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


DO NOT REPLY [Bug 51665] Inconsistent documentation of LimitRequestLine and friends.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51665

--- Comment #1 from Rich Bowen <rb...@apache.org> 2011-11-11 16:48:56 UTC ---
I think this is a semantic difference only. There's an upper limit beyond which
you can't raise it. However, if you lower it, you can then raise it again,
right? Perhaps it would be best to just say "set" instead of "reduce or
increase."

-- 
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: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org