mirror of
https://github.com/moparisthebest/xeps
synced 2025-02-26 07:31:55 -05:00
Clarify interaction with stream features after auth
This commit is contained in:
parent
a97c6d0384
commit
ca6c983db1
@ -33,7 +33,7 @@
|
|||||||
<version>1.6.1</version>
|
<version>1.6.1</version>
|
||||||
<date>2022-10-05</date>
|
<date>2022-10-05</date>
|
||||||
<initials>tm</initials>
|
<initials>tm</initials>
|
||||||
<remark><p>Clarify SASL2 and BIND" interaction.</p></remark>
|
<remark><p>Clarify SASL2 and BIND2 interaction.</p></remark>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>1.6</version>
|
<version>1.6</version>
|
||||||
@ -573,6 +573,7 @@
|
|||||||
<p>To indicate support for inlining stream resumption into the authentication process, the server adds a <resume/> element in the namespace "urn:xmpp:sm:3" to the <inline/> element of SASL2.</p>
|
<p>To indicate support for inlining stream resumption into the authentication process, the server adds a <resume/> element in the namespace "urn:xmpp:sm:3" to the <inline/> element of SASL2.</p>
|
||||||
<p>If the client wishes to resume an existing session it, it simply includes the <resume/> element defined by this specification in the SASL2 <authenticate/> element.</p>
|
<p>If the client wishes to resume an existing session it, it simply includes the <resume/> element defined by this specification in the SASL2 <authenticate/> element.</p>
|
||||||
<p class="box">Note: If the client included a <resume/> element in its SASL2 <authenticate/> element, that MUST be processed first by the server. If that resumption is successful, the server MUST skip resource binding (a resumed session already has a resource bound) and MUST entirely ignore the <bind/> request that might also be inlined in the <authenticate/> element.</p>
|
<p class="box">Note: If the client included a <resume/> element in its SASL2 <authenticate/> element, that MUST be processed first by the server. If that resumption is successful, the server MUST skip resource binding (a resumed session already has a resource bound) and MUST entirely ignore the <bind/> request that might also be inlined in the <authenticate/> element.</p>
|
||||||
|
<p>&xep0388; mandates that the <success> element is immeditaly followed by stream features. If a former stream has been successfully resumed using this specification, the stream is considered re-established immediately after the <success/> element instead and stream features MUST NOT be sent in this case.</p>
|
||||||
<section3 topic="Failed Resumption">
|
<section3 topic="Failed Resumption">
|
||||||
<p>Sometimes resumption might fail - for example, because the session has been disconnected longer than the server’s resumption timeout. In this case, the server MUST include the <failed/> element defined by this specification in its SASL2 <success/> response, but also MUST continue to process the <bind/> in order to establish a new session for the client.</p>
|
<p>Sometimes resumption might fail - for example, because the session has been disconnected longer than the server’s resumption timeout. In this case, the server MUST include the <failed/> element defined by this specification in its SASL2 <success/> response, but also MUST continue to process the <bind/> in order to establish a new session for the client.</p>
|
||||||
<p>The client can find details about its new session in the <bound/> response (defined by &xep0386;).</p>
|
<p>The client can find details about its new session in the <bound/> response (defined by &xep0386;).</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user