users@grizzly.java.net

Re: Grizzly Idle timeout

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Fri, 15 Oct 2010 12:33:09 +0200

Hi Keith,

can you pls. share your code, or at least the Grizzly init part?

Thank you.

WBR,
Alexey.

On Oct 15, 2010, at 12:14 , Keith Shu wrote:

> MY first time posting here.
> I'm using Grizzly 1.9.19 to implement a socket server processing TCP
> messages.
> I used the example from echo filter. Everything works great except
> one issue.
> When the client is idle - (not sending any messages) the connection
> terminates after about 2 minutes.
> Is this by design? I've looked at all the timeout settings and keep
> alives but all seems ok to me.
>
> I think you can recreate this by running Echo filter, then open a
> telnet to the port but don't send any message.
> How can i make the connection persist even when there's no message
> passed.
>
> Thanks in advance for responses. Hope it can be prompt.
> Keith
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>