You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/08/18 14:40:10 UTC

DO NOT REPLY [Bug 11798] - use of response.flushBuffer in .jsp script results in unterminated HTTP response/ browser hangs

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11798>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11798

use of response.flushBuffer in .jsp script results in unterminated HTTP response/ browser hangs

remm@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From remm@apache.org  2002-08-18 12:40 -------
Maybe it fails with 4.0.4, but it does work with 4.1.9. The bug, if it exists,
will not be fixed in 4.0.x.

The response sent by Tomcat 4.1.x is valid and my IE 6 (on Win XP), as well as
Moz, is happy about it.

Request:
GET /foo.jsp HTTP/1.1
Host: localhost:8080

Response:
HTTP/1.1 200 OK
Content-Type: text/html;charset=ISO-8859-1
Set-Cookie: JSESSIONID=52FE1B5C12EDD2EE2C97D1BCDD42851B; Path=/
Transfer-Encoding: chunked
Date: Sun, 18 Aug 2002 12:31:34 GMT
Server: Apache Coyote/1.0

3e
<HTML>
<BODY>

Begin <P>



End <P>

</BODY>
</HTML>
0

(since you flush in the middle, chunking is used)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>