httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Re: LimitRequestBody http return code
Date Thu, 04 Nov 2010 22:40:23 GMT
On Thu, Nov 4, 2010 at 6:38 PM, Mohit Anchlia <mohitanchlia@gmail.com> wrote:
> On Sun, Oct 31, 2010 at 6:02 PM, Eric Covener <covener@gmail.com> wrote:
>> On Sun, Oct 31, 2010 at 8:09 PM, Mohit Anchlia <mohitanchlia@gmail.com> wrote:
>>> On Wed, Sep 8, 2010 at 2:23 PM, Mohit Anchlia <mohitanchlia@gmail.com>
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message