Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 88086 invoked from network); 15 Nov 2010 21:33:37 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Nov 2010 21:33:37 -0000 Received: (qmail 79179 invoked by uid 500); 15 Nov 2010 21:34:05 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 79155 invoked by uid 500); 15 Nov 2010 21:34:05 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 79147 invoked by uid 99); 15 Nov 2010 21:34:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 21:34:05 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mohitanchlia@gmail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-qy0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 21:33:58 +0000 Received: by qyk36 with SMTP id 36so2607704qyk.18 for ; Mon, 15 Nov 2010 13:33:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Pl4CQ+vlofNPXONo1+XXbwxsW9iw997XmuvuYpNZNdM=; b=d3Cu0xIWUwVGeXeqoZKVVOICcueakaZdJaiHQSf4veAZZaeKYayniFvtKe+BbOBxeC CRA1fAtm81ZJXrInIfOFFVj9hmmVtlqur9BRAxouXWwSciRHh5igO/6jxvx7IHCmaviS OzJ4aKVE/dn7WCXOccTA44SOSrlLMv7LFF1m8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=PEPmOuy+t9yQItPcS8GLEm3J+OxXakq88Hb8nnlA9QaNhfeYgTya0Swyv49jkpuCbD 2yNNyjM/O9oN+wTGhue82IasbFdfkV5NhZs3Og4ITB8Xy1grAZTms3UHhg/BpigYScOI WqiChB6g+bBIEamjnfFsO/n6BEbzWfXW2qmAI= MIME-Version: 1.0 Received: by 10.224.67.21 with SMTP id p21mr2211537qai.23.1289856817141; Mon, 15 Nov 2010 13:33:37 -0800 (PST) Received: by 10.220.192.5 with HTTP; Mon, 15 Nov 2010 13:33:37 -0800 (PST) In-Reply-To: <4CE1A4D0.2080903@adaptr.nl> References: <4CE03F56.5010801@frukt.org> <4CE1A3BB.9070708@adaptr.nl> <4CE1A4D0.2080903@adaptr.nl> Date: Mon, 15 Nov 2010 13:33:37 -0800 Message-ID: From: Mohit Anchlia To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Re: LimitRequestBody http return code On Mon, Nov 15, 2010 at 1:23 PM, Jeroen Geilman wrote: > On 11/15/2010 10:21 PM, Mohit Anchlia wrote: >> >> On Mon, Nov 15, 2010 at 1:18 PM, Jeroen Geilman =A0wro= te: >> >>> >>> On 11/15/2010 10:12 PM, Mohit Anchlia wrote: >>> >>>> >>>> On Sun, Nov 14, 2010 at 11:58 AM, Jonas Eckerman >>>> =A0wrote: >>>> >>>> >>>>> >>>>> 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 th= e >>>>> perl or XS HTTP code and not by the server. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> 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 for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > =A0" =A0 from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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