On Fri, Mar 6, 2009 at 8:50 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:

> > From: Santosh Gangadhar [mailto:sant...@wirkle.com]
> > Subject: Re: Problem using chunked encoding - request thread cleanup
> >
> > But the client keeps running because Tomcat as such does
> > not close the stream.
>
> Perhaps I'm missing something, but why would Tomcat ever close the
> chunked-encoding input stream?  Isn't it the responsibility of the client to
> indicate there's no more data and close the stream?
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
> The client is pushing an mjpeg stream to a servlet on the server. Its upto
the server when to stop pushing the stream. The client cannot indicate when
to end the stream. May be HTTP is not being used aptly here. But still, is
there a way for the servlet to end the stream. ServletInputStream.close()
does not help either.
Thanks,
Santosh.

Reply via email to