dev@glassfish.java.net

Re: Servlet writing of response is not terminated when client terminates the request

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Tue, 27 May 2008 21:39:35 +0200

Hello Paul,

I'll take a look at that issue and let you know.

WBR,
Alexey.

On May 27, 2008, at 15:09 , Paul Sandoz wrote:

> Hi,
>
> A developer (CC'ed) found a problem with Jersey and responses being
> written even if the client terminates the connection i.e. no
> exception gets thrown from the OutputStream.write methods.
>
> I reproduced it by writing a simple servlet, see here for more
> details [1]. If i go to the URL:
>
> http://localhost:8080/WebApplication13/TimeOutServlet
>
> then i quit the browser, the servlet still writes output, if i
> undeploy it still writes output, i need to restart GF to stop the
> process.
>
> Paul.
>
> [1] https://jersey.dev.java.net/issues/show_bug.cgi?id=71
>
> --
> | ? + ? = To question
> ----------------\
> Paul Sandoz
> x38109
> +33-4-76188109
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>