On Mar 12, 2009, at 4:29 PM, Peter Saint-Andre wrote:

The phrase "when the server gives stream features for resumption" could
mean two things:

1. Whenever a server that supports stream resumption sends stream features.

OR

2. When a server sends stream features to an initiating entity that is
attemping to resume a session.

Given that #2 involves mind-reading, I think we mean #1. But isn't it
possible that the host+port to which a client reconnects is not known at the time the server sends stream features? (The exception would seem to
be that the server sends the client to some kind of load balancer.)

How about this:

C: <enable xmlns='urn:xmpp:sm:0'/>
S: <enabled xmlns='urn:xmpp:sm:0' resume='1' id='some-long-id' host='foo.example.com' port='5222'/>

Reply via email to