users@grizzly.java.net

Comet Streaming Timeout

From: Pred <ticket_itav_at_gmx.de>
Date: Fri, 10 Jul 2009 08:22:28 -0700 (PDT)

Hi,

whenever the browser is not closed normally (for example the network cable
has been unplugged or the device disabled) the underlying TCP Connection on
the server stays alive:

netstat -tapn Output:

Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp6 0 437 192.168.1.48:8080 192.168.1.66:2332
CONNECTED 3961/java

Handlers still send data and the Send-Queue fills.
After about ~19 minutes the TCP Connection is recognized as being dead and
"onInterrupt" is called.

Where can I configure this "timeout" value? Im using glassfish v3 B47.4
I have already tried "write-timeout-millis" but it does not work.

I have the same issue in Tomcat (using CometProcessor not Grizzly).

Thanks for help!

Bye
Markus
-- 
View this message in context: http://www.nabble.com/Comet-Streaming-Timeout-tp24429583p24429583.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.