httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38014] - The status '100 Continue' will be sent after the final status code
Date Tue, 06 Feb 2007 20:36:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38014>.
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-06 12:36 -------
Created an attachment (id=19532)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19532&action=view)
[PATCH 38014]

If client send "Expect: 100-Continue" request then ap_http_filter prepares
"HTTP/1.1 100 Continue" and appends a brigade. The issue is that modules may
already have started sending the headers/response. If it is so then 100
Continue is sent after the response. In this fix "100 Continue" line is added
only if eos_sent is 0 and send_bytes is 0. Unfortunately there is no field in
request_rec, I found which states that response status is already sent.


The patch have been tested with following situation.

(a) testing with mod_perl
GET /perl/test.pl HTTP/1.1
Host: lbasantk3.red.iplanet.com
Content-Length: 3
Expect: 100-continue

abc

(b) testing with home url.

GET /index.html HTTP/1.1
Host: lbasantk3.red.iplanet.com
Content-Length: 3
Expect: 100-continue

abc

(c) testing with redirect
GET /redir HTTP/1.1
Host: lbasantk3.red.iplanet.com
Content-Length: 3
Expect: 100-continue

abc

(d) testing with mod_asis as reported by bug
HEAD /asis/index.asis HTTP/1.1
Host: lbasantk3.red.iplanet.com
Content-Length: 3
Expect: 100-continue

abc


(e) testing with HEAD request
GET /asis/index.asis HTTP/1.1
Host: lbasantk3.red.iplanet.com
Content-Length: 3
Expect: 100-continue

abc


(f) testing with a perl script which doesn't generate any output
GET /perl/test1.pl HTTP/1.1
Host: lbasantk3.red.iplanet.com
Content-Length: 3
Expect: 100-continue

abc

(g) HEAD request for /index.html
HEAD /index.html HTTP/1.1
Host: lbasantk3.red.iplanet.com
Content-Length: 3
Expect: 100-continue

abc


-- 
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


Mime
View raw message