Hi,

One of my colleagues is working our XMPP server, and saw an issue which
seems foreign to me (I am also kind of new to XMPP).

The issue is, in order to check whether the client is up or not, our XMPP
server implemented XEP-0199 from the server side (S2C) which is enabled by
default, and the periodicity of pings can be controlled by server side
configuration,  but some XMPP clients send their own pings whose timeouts
cannot be configured. This results in ping-pong packets coming and going
around a lot, and awkward interactions (the client may think that the
server is down but server may not, in case client timeout is less than
server timeout).

What we were thinking was the following:

After Service Discovery is done, the pinging and the pinged entity could
negotiate a timeout between themselves (one of them could dictate what
timeout to use, or both parties could suggest timeouts and we use the one
which is lower).

Is this a good idea?

Thanks,
Vaibhav
_______________________________________________
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
_______________________________________________

Reply via email to