[jdev] How is a client crash communicated to the XMPP server?

JabberForum list-jdev at jabberforum.org
Mon Jun 9 01:27:21 CDT 2008


Peter Saint-Andre;727 Wrote: 
> On 06/03/2008 1:15 AM, JabberForum
> wrote:[color=blue][color=green][color=darkred]
> If a client disconnected ungracefully, it will send nothing, so the
> server will need to poll the TCP connection periodically (if the
> connection is idle); this is typically done using so-called
> "whitespace
> pings" as described here:
> 
> http://tinyurl.com/6kjqwt
> 
> 

Thanks Peter for the comments. The RFC states that the TCP polling
interval is configurable.

<snip>
The time between such "whitespace pings" is a matter of implementation
and local service policy; however, it is RECOMMENDED that these pings be
sent not more than once every 60 seconds.
</snip>

Is there a default polling interval ?.. or is that also dependent on
the xmpp server implementation? 

I have been working with Jabber XCP server and i only found a "polling
director" component which has a session timeout field which is nothing
but ---> "the number of seconds after which the server terminates the
session if the client has not sent a poll request."

I think this is purely at (the higher) xmpp level and does not talk
about TCP polling, or does it ..?

Thanks
Santhosh


-- 
santhosh.kulandaiyan
------------------------------------------------------------------------
santhosh.kulandaiyan's Profile: http://www.jabberforum.org/member.php?userid=16912
View this thread: http://www.jabberforum.org/showthread.php?t=200




More information about the JDev mailing list