Re: Re: LimitRequestBody http return code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 4, 2010 at 3:40 PM, Eric Covener <covener@xxxxxxxxx> wrote:
> On Thu, Nov 4, 2010 at 6:38 PM, Mohit Anchlia <mohitanchlia@xxxxxxxxx> wrote:
>> On Sun, Oct 31, 2010 at 6:02 PM, Eric Covener <covener@xxxxxxxxx> wrote:
>>> On Sun, Oct 31, 2010 at 8:09 PM, Mohit Anchlia <mohitanchlia@xxxxxxxxx> wrote:
>>>> On Wed, Sep 8, 2010 at 2:23 PM, Mohit Anchlia <mohitanchlia@xxxxxxxxx> wrote:
>>>>> I am trying to test LimitRequestBody. It looks like it always returns
>>>>> Http code 500. Is this as expected?  I thought it's supposed to return
>>>>> Http 413.
>>>>>
>>>>> Is there a way to change the return code of LimitRequestBody?
>>>>>
>>>>
>>>> Can someone please help me answer this question? I have a requirement
>>>> to use some specific text but can't do that if it keeps returning 500
>>>> status code. 500 status code is too generic. Shouldn't it be returning
>>>> 413?
>>>
>>> returns 413 here.
>>
>> I am seeing the following when I add "LimitRequestBody 400" for my
>> test in virtual host
>>
>> 500 (Internal Server Error) Can't read entity body: Connection reset by peer
>> Content-Type: text/plain
>> Client-Date: Thu, 04 Nov 2010 22:36:21 GMT
>> Client-Warning: Internal response
>>
>> 500 Can't read entity body: Connection reset by peer
>> Error Code :500 Can't read entity body: Connection reset by peer
>
>
> Any idea what module those Client-* headers come from?  Might be related.

All I am doing is adding "LimitRequestBody 400" and I see the above in
my perl script and this is what I see below in access log:

10.4.106.55 - - [04/Nov/2010:15:39:36 -0700] "POST /val/validate.cgi
HTTP/1.1" 400 364 "-" "libwww-perl/5.79" "eitws1" 0 - - - 188 522

>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux