https://issues.apache.org/bugzilla/show_bug.cgi?id=50747

--- Comment #8 from Frank Schroeder <frank.schroe...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to