mirror of
https://github.com/moparisthebest/xeps
synced 2025-02-16 07:10:15 -05:00
1.2
This commit is contained in:
parent
94e2c3488a
commit
9915af8cbf
@ -11,7 +11,6 @@
|
||||
&LEGALNOTICE;
|
||||
<number>0198</number>
|
||||
<status>Draft</status>
|
||||
<interim/>
|
||||
<type>Standards Track</type>
|
||||
<sig>Standards</sig>
|
||||
<dependencies>
|
||||
@ -30,8 +29,8 @@
|
||||
&dcridland;
|
||||
&mwild;
|
||||
<revision>
|
||||
<version>1.2rc2</version>
|
||||
<date>2011-02-17</date>
|
||||
<version>1.2</version>
|
||||
<date>2011-03-02</date>
|
||||
<initials>psa/dc/mw</initials>
|
||||
<remark><p>Simplification based on implementation experience: removed acking per number of stanzas exchanged because either entity can request an ack at any time; moved throttling feature to a separate specification; removed 'stanzas' attribute from <enable/> element; added 'location' attribute to <enabled/> element; clarified several implementation issues in the text; fixed several examples; versioned the XML namespace from urn:xmpp:sm:2 to urn:xmpp:sm:3.</p></remark>
|
||||
</revision>
|
||||
@ -274,7 +273,7 @@ S: <a xmlns='urn:xmpp:sm:3' h='1'/>
|
||||
|
||||
<section1 topic='Resumption' anchor='resumption'>
|
||||
<p>It can happen that an XML stream is terminated unexpectedly (e.g., because of network outages). In this case, it is desirable to quickly resume the former stream rather than complete the tedious process of stream establishment, roster retrieval, and presence broadcast.</p>
|
||||
<p>In addition, this allows entities to establish definitively which stanzas require resending and which do not, eliminating replay issues.</p>
|
||||
<p>In addition, this protocol exchanges the sequence numbers of the last received stanzas on the previous connection, allowing entities to establish definitively which stanzas require retransmission and which do not, eliminating duplication through replay.</p>
|
||||
<p>To request that the stream will be resumable, when enabling stream management the initiating entity MUST add a 'resume' attribute to the <enable/> element with a value of "true" or "1" &BOOLEANNOTE;.</p>
|
||||
<example caption='Client enables stream management'><![CDATA[
|
||||
C: <enable xmlns='urn:xmpp:sm:3' resume='true'/>
|
||||
@ -441,7 +440,7 @@ C: <message/>
|
||||
C: <r/>
|
||||
S: <a h='9'/>
|
||||
]]></example>
|
||||
<p>In particular, on mobile networks, it is advisable to only request and/or send acknowledgements when there is other data to be sent, or in lieu of a whitespace keepalive or XMPP ping (XEP-0199).</p>
|
||||
<p>In particular, on mobile networks, it is advisable to only request and/or send acknowledgements when an entity has other data to send, or in lieu of a whitespace keepalive or XMPP ping (XEP-0199).</p>
|
||||
</section2>
|
||||
</section1>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user