You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Tim Koop <gr...@timkoop.com> on 2006/09/28 17:34:16 UTC

org.apache.coyote.tomcat5.CoyoteInputStream.close()

Hi everyone.

The Javadoc comment on 
org.apache.coyote.tomcat5.CoyoteInputStream.close() says this:

"Close the stream Since we re-cycle, we can't allow the call to 
super.close() which would permantely disable us."

I suspect a call to the underlying ServletInputStream.close() could be 
quite handy in some circumstances.  You might want to close the actual 
stream if someone is sending you a few GB of data and you actually want 
to close it.

I'm not exactly sure the best way to do this.  Perhaps CoyoteInputStream 
could have a method closeServletInputStream(), which could be called by 
casting request.getInputStream() to a CoyoteInputStream.

Any other thoughts?

--
Tim Koop

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