mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
XEP-0198: Add handled-count-to-high specification.
This commit is contained in:
parent
07268406f6
commit
d688a35e52
13
xep-0198.xml
13
xep-0198.xml
@ -432,7 +432,7 @@
|
||||
</failed>
|
||||
]]></example>
|
||||
<p>Stream management errors SHOULD be considered recoverable; however, misuse of stream management MAY result in termination of the stream.</p>
|
||||
<p>When a remote entity acknowledges that it has handled a number of stanzas that is higher than the amount of stanzas that it was sent (by sending an 'h' value that is to high), the local entity SHOULD generate a stream error and close the stream:</p>
|
||||
<p>When a remote entity acknowledges that it has handled a number of stanzas that is higher than the amount of stanzas that it was sent (by sending an 'h' value that is to high), the local entity SHOULD generate a undefined-condition stream error that includes a handled-count-to-high element, and close the stream:</p>
|
||||
<example caption='Entity closes stream because peer acknowledges more stanzas than it was sent'><![CDATA[
|
||||
<stream:error>
|
||||
<undefined-condition xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
|
||||
@ -693,6 +693,17 @@
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:element name='handled-count-too-high'>
|
||||
<xs:complexType>
|
||||
<xs:attribute name='send-count'
|
||||
type='xs:unsignedInt'
|
||||
use='optional'/>
|
||||
<xs:attribute name='h'
|
||||
type='xs:unsignedInt'
|
||||
use='optional'/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
]]></code>
|
||||
</section1>
|
||||
|
Loading…
Reference in New Issue
Block a user