users@grizzly.java.net

Re: [Q] Connection timeout

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 04 Mar 2008 14:05:34 -0500

Simon Trudeau wrote:
> This might sound basic but I haven’t found how :
>
>
>
> When using connectorHandler.connect(…), how do we specify a timeout? It
> seems that the only way to set it is using the
> TCPSelectorHandler.setSocketTimeout() and
> TCPSeletorHandler.setServerTimeout()?
>

Looks like we have a bug right now as the value is hardcoded to 30
seconds (has been already reported, forgot to add an issue ->
forgot!):-( I've filled an issue here

https://grizzly.dev.java.net/issues/show_bug.cgi?id=83

Fix soon :-)

--Jeanfrancois


>
>
> Thanks for the info.
>
>
>
> Simon
>
>
>