From bugs-return-25028-apmail-httpd-bugs-archive=httpd.apache.org@httpd.apache.org Fri Feb 02 19:30:37 2007 Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 53568 invoked from network); 2 Feb 2007 19:30:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2007 19:30:37 -0000 Received: (qmail 93882 invoked by uid 500); 2 Feb 2007 19:30:42 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 93847 invoked by uid 500); 2 Feb 2007 19:30:42 -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 93833 invoked by uid 99); 2 Feb 2007 19:30:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 11:30:42 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 11:30:33 -0800 Received: by brutus.apache.org (Postfix, from userid 33) id DBBA77142D0; Fri, 2 Feb 2007 11:30:12 -0800 (PST) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 38014] - The status '100 Continue' will be sent after the final status code In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20070202193012.DBBA77142D0@brutus.apache.org> Date: Fri, 2 Feb 2007 11:30:12 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=38014 ------- Additional Comments From basant.kukreja@sun.com 2007-02-02 11:30 -------
Bug also reproduces with mod_perl.

For a simple test script test.pl
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
print "mod_perl 2.0 rocks!\n";

If the request contains :
GET /perl/test.pl HTTP/1.1
Host: myhost.domain
Content-Length: 3
Expect: 100-continue

abc

The output is :
HTTP/1.1 200 OK
Date: Fri, 02 Feb 2007 19:17:04 GMT
Server: Apache/2.2.5-dev (Unix) mod_perl/2.0.4-dev Perl/v5.8.8
Transfer-Encoding: chunked
Content-Type: text/plain

14
mod_perl 2.0 rocks!

HTTP/1.1 100 Continue

0

--------------------------------------
Note that "HTTP/1.1 100 Continue" is printed after the response.

httpd.conf contains :
LoadModule perl_module modules/mod_perl.so
Alias /perl/ /disk/apache/apache2/perl/

  SetHandler perl-script
  PerlResponseHandler ModPerl::Registry
  PerlOptions +ParseHeaders
  Options +ExecCGI
  Order allow,deny
  Allow from all 

--------------------------------------

However if the request is /index.html then the apache behavior is correct.
GET /index.html HTTP/1.1
Host: myhost.domain
Content-Length: 3
Expect: 100-continue

abc


-----
Response
-----

HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Fri, 02 Feb 2007 19:23:03 GMT
Server: Apache/2.2.5-dev (Unix) mod_perl/2.0.4-dev Perl/v5.8.8
Last-Modified: Fri, 26 Jan 2007 21:40:07 GMT
ETag: "7008b-2c-5f0e7bc0"
Accept-Ranges: bytes
Content-Length: 44
Content-Type: text/html

It works!

-- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org