Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 77060 invoked from network); 17 Aug 2010 17:07:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Aug 2010 17:07:12 -0000 Received: (qmail 56692 invoked by uid 500); 17 Aug 2010 17:07:11 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 56494 invoked by uid 500); 17 Aug 2010 17:07:10 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 56485 invoked by uid 99); 17 Aug 2010 17:07:10 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Aug 2010 17:07:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Aug 2010 17:06:53 +0000 Received: from thor.apache.org (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7HH6VUn003895 for ; Tue, 17 Aug 2010 17:06:31 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o7HH6Vaf003894; Tue, 17 Aug 2010 13:06:31 -0400 (EDT) Date: Tue, 17 Aug 2010 13:06:31 -0400 (EDT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 49766] New: POST request on CGI script generating empty body closes connection X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_cgid X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: rlips@cloudmark.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=49766 Summary: POST request on CGI script generating empty body closes connection Product: Apache httpd-2 Version: 2.2.14 Platform: PC OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: mod_cgid AssignedTo: bugs@httpd.apache.org ReportedBy: rlips@cloudmark.com I just installed a fresh apache2 (2.2.14) on Ubuntu Lucid. I wrote a small CGI script for test purpose: ~# cat /usr/lib/cgi-bin/test #!/usr/bin/perl print "Content-length: 0\r\n"; print "Content-type: text/plain\r\n\r\n"; ~# Here is my test: ~$ telnet 0 80 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. POST /cgi-bin/test HTTP/1.1 Host: localhost Content-Length: 20 aaaaaaaaaaaaaaaaaa Connection closed by foreign host. ~$ Connection is immediately closed without any response! In the logs, I can see the following: ~# tail /var/log/apache2/access.log 127.0.0.1 - - [17/Aug/2010:19:03:10 +0200] "POST /cgi-bin/test HTTP/1.1" 200 0 "-" "-" ~# tail /var/log/apache2/error.log [Tue Aug 17 19:03:10 2010] [error] [client 127.0.0.1] (104)Connection reset by peer: ap_content_length_filter: apr_bucket_read() failed Clearly the connection is not 'reset by peer' Please advise... -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org