users@grizzly.java.net

Re: ReadHandler not returning error on client disconnect

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Mon, 04 Apr 2011 10:50:35 +0200

Hi Gagan,

sure,

the change might be followed on these diffs [1], [2]. We introduced
method InputBuffer.terminate(), which is getting called when Request
processing terminates for any reason.

WBR,
Alexey.

[1]
http://java.net/projects/grizzly/sources/git/revision/4ecfb85a6ec20628c127c1cc91211a3a9d8ac9b1
[2]
http://java.net/projects/grizzly/sources/git/diff/modules/http-server/src/main/java/org/glassfish/grizzly/http/server/io/InputBuffer.java?rev1=44fd01e4bf2663a1f0a796f60fd1d7cbc94b60ed&rev2=4ecfb85a6ec20628c127c1cc91211a3a9d8ac9b1

On 04/04/2011 10:00 AM, gagansnt wrote:
> Its working now Thanks! Giving EOFException whenever a client gets
> disconnected.
> I would like to know the change you made in the source code. Would you mind
> sharing that information.
>
> --
> View this message in context: http://grizzly.1045725.n5.nabble.com/ReadHandler-not-returning-error-on-client-disconnect-tp4271055p4279861.html
> Sent from the Grizzly - Users mailing list archive at Nabble.com.