tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Help with a Tomcat issue???
Date Tue, 07 Apr 2009 08:39:39 GMT
Jason Smith wrote:
> Solved.  You gave me a clue that helped solve it, though Tomcat could handle this better
(not put '0 POST' in for the method name in the first place).  
> 
> Sun's implementation of HttpURLConnector apparently creates a new ChunkedOutputStream
every time you call .getOutputStream().  In other words, multiple calls to conn.getOutputStream().close();
cause corrupted output.  Calling .close() on the same output stream does not cause corrupted
output.  

Glad you found the problem.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message