Re: Re: LimitRequestBody http return code

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

 



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.

---------------------------------------------------------------------
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