tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50747] CometProcessor does not flush and close HTTP/1.0 requests
Date Thu, 10 Feb 2011 08:03:17 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50747

--- Comment #8 from Frank Schroeder <frank.schroeder@gmail.com> 2011-02-10 03:03:12
EST ---
Just for the sake of completeness: I've changed the code to

String data = "...";
byte[] buf = data.getBytes(charset);
response.setContentLength(buf.length);
response.getOutputStream().write(buf);
response.getOutputStream().flush();
cometEvent.close();

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message