You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2018/01/17 06:30:36 UTC

[Bug 62007] New: 413:REQUEST ENTITY TOO LARGE error is coming when sending Http request with custom headers of size less than 8190 bytes.

https://bz.apache.org/bugzilla/show_bug.cgi?id=62007

            Bug ID: 62007
           Summary: 413:REQUEST ENTITY TOO LARGE error is coming when
                    sending Http request with custom headers of size less
                    than 8190 bytes.
           Product: Apache httpd-2
           Version: 2.4.23
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: All
          Assignee: bugs@httpd.apache.org
          Reporter: divya1526@gmail.com
  Target Milestone: ---

Pre-condition:
set LimitRequestFieldSize 8190 in httpd.conf
Steps:
1.Send Http request with custom headers of size less than 8190 bytes.
Ex:
Add 8 custom header of total size 8110 bytes.

Expected:
Http request should be successful with 200 ok.

Actual:
413:REQUEST ENTITY TOO LARGE

Observation:
The value supported for LimitRequestFieldSize is 8109 as if a header less than
or equal to 8109 bytes is sent, 200 response code is returned.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 62007] 413:REQUEST ENTITY TOO LARGE error is coming when sending Http request with custom headers of size less than 8190 bytes.

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

--- Comment #2 from Eric Covener <co...@gmail.com> ---
This error is seemingly about a body, not headers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 62007] 413:REQUEST ENTITY TOO LARGE error is coming when sending Http request with custom headers of size less than 8190 bytes.

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

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Eric Covener <co...@gmail.com> ---
Please show at least your request and the resulting error_log entry.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 62007] 413:REQUEST ENTITY TOO LARGE error is coming when sending Http request with custom headers of size less than 8190 bytes.

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

--- Comment #3 from Petros Marios Prokopiou <pp...@redhat.com> ---
The error you are presenting is connected to LimitRequestBody.

LimitRequestFieldSize 8190 is the default so there should be no change in the
behavior of the server when setting it to 8190.
If I'm not mistaken, the error that corresponds to LimitRequestFieldSize is the
following:
"Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit."

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org