On Mon, Nov 15, 2010 at 1:23 PM, Jeroen Geilman <jer...@adaptr.nl> wrote:
> On 11/15/2010 10:21 PM, Mohit Anchlia wrote:
>>
>> On Mon, Nov 15, 2010 at 1:18 PM, Jeroen Geilman<jer...@adaptr.nl>  wrote:
>>
>>>
>>> On 11/15/2010 10:12 PM, Mohit Anchlia wrote:
>>>
>>>>
>>>> On Sun, Nov 14, 2010 at 11:58 AM, Jonas Eckerman<jonas_li...@frukt.org>
>>>>  wrote:
>>>>
>>>>
>>>>>
>>>>> On 2010-11-04 23:38, Mohit Anchlia wrote:
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>>> If this is in something done with perl LWP, the "Client-Warning:
>>>>> Internal response" header indicates that the error is generated by the
>>>>> perl or XS HTTP code and not by the server.
>>>>>
>>>>>
>>>>>
>>>>> <http://search.cpan.org/~gaas/libwww-perl-5.837/lib/LWP/UserAgent.pm#REQUEST_METHODS>
>>>>>
>>>>>
>>>>>
>>>>
>>>> But even access logs don't show http 403:
>>>>
>>>> 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
>>>>
>>>>
>>>>
>>>
>>> No, it says 400 - bad request.
>>> Check the logs of your CGI for what went wrong.
>>>
>>
>> Nothing is wrong in the request. If I just remove LimitRequestBody and
>> send the same request it works.
>>
>
> I am not claiming it is a bad request. Apache tells you it is.

I don't believe right thing the return code is correctly returned when
I use LimitRequestBody. I can't seem to explain why I would get http
400 for all the good requests that are over certain size but it works
when I remove or increase the limit.
>
> --
> J.
>
>
> ---------------------------------------------------------------------
> 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-unsubscr...@httpd.apache.org
>  "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to