You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Peter H." <co...@hotmail.com> on 2003/09/23 16:25:58 UTC
how to close request input stream
Hello,
Calling request.getInputStream().close does not work...
...the browser still sends bytes
any ideas?
Greetings & Thanks
Peter
_________________________________________________________________
MSN Groups & Chat - Freunde finden - leicht gemacht
http://groups.msn.com/people/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: how to close request input stream
Posted by "Christopher St. John" <ck...@distributopia.com>.
Peter H. wrote:
> Calling request.getInputStream().close does not work...
> ...the browser still sends bytes
>
how many? it won't be an instant stop because there can
be many bytes "in flight" between the browser and your
server (operating systems buffers, proxy servers, etc).
if "still sends bytes" means 100's of kilobytes, then
something else is going on, and you'd need to look at
each "hop" your bytes are taking on the way to the server
to see where they're ending up...
-cks
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: how to close request input stream
Posted by "Christopher St. John" <ck...@distributopia.com>.
Peter H. wrote:
> Calling request.getInputStream().close does not work...
> ...the browser still sends bytes
>
how many? it won't be an instant stop because there can
be many bytes "in flight" between the browser and your
server (operating systems buffers, proxy servers, etc).
if "still sends bytes" means 100's of kilobytes, then
something else is going on, and you'd need to look at
each "hop" your bytes are taking on the way to the server
to see where they're ending up...
-cks
Re: how to close request input stream
Posted by Tim Funk <fu...@joedog.org>.
The browser will send all the bytes it can (or is supposed to). Then it waits
for a response. The only thing you can to is abort the request. (Send error
status and return)
-Tim
Peter H. wrote:
> Hello,
>
> Calling request.getInputStream().close does not work...
> ...the browser still sends bytes
>
> any ideas?
>
> Greetings & Thanks
> Peter
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: how to close request input stream
Posted by Tim Funk <fu...@joedog.org>.
The browser will send all the bytes it can (or is supposed to). Then it waits
for a response. The only thing you can to is abort the request. (Send error
status and return)
-Tim
Peter H. wrote:
> Hello,
>
> Calling request.getInputStream().close does not work...
> ...the browser still sends bytes
>
> any ideas?
>
> Greetings & Thanks
> Peter
>