[Standards] s2s and gracelessly broken streams

Mridul mridul at sun.com
Fri Mar 16 17:41:32 UTC 2007


   Is there any best practices on how to handle broken s2s connection ?
Two primary cases come to mind :

1) Remote server went mia due to some transient network/other jitter and 
recovers after "some" time (assume enough delay to cause tcp close) : so 
contacts are still available.
2) Remote server went down and came back up after "some" time : so 
contacts are no longer available.

(Another condition could be server closing the inbound/outbound socket 
after some delay.)

In these cases, assume that unavailable presence was not sent.

How is contact's presence expected to be treated on the user's server ?


More information about the Standards mailing list