[jdev] How is a client crash communicated to the XMPP server?
Peter Saint-Andre
stpeter at stpeter.im
Mon Jun 9 09:52:41 CDT 2008
On 06/09/2008 12:27 AM, JabberForum wrote:
> 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?
That depends on the 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 ..?
This is probably a whitespace ping at the TCP level (not an "XMPP Ping"
via XEP-01999), but you could contact the Jabber XCP developers for
further information.
Peter
--
Peter Saint-Andre
https://stpeter.im/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.jabber.org/jdev/attachments/20080609/375d3bbd/attachment-0002.bin>
More information about the JDev
mailing list