mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-23 01:32:22 -05:00
XEP-0410: treat remote-server-{not-found,timeout} like timeout
Rationale is inline. Summary: those errors indicate unreachability of the server and most certainly not (with confidence) that the client has been removed from the room.
This commit is contained in:
parent
a42c27e60b
commit
998bbaff5b
10
xep-0410.xml
10
xep-0410.xml
@ -29,6 +29,12 @@
|
|||||||
<email>georg@op-co.de</email>
|
<email>georg@op-co.de</email>
|
||||||
<jid>georg@yax.im</jid>
|
<jid>georg@yax.im</jid>
|
||||||
</author>
|
</author>
|
||||||
|
<revision>
|
||||||
|
<version>1.1.0</version>
|
||||||
|
<date>2019-09-25</date>
|
||||||
|
<initials>jsc</initials>
|
||||||
|
<remark>Treat remote-server-not-found and remote-server-timeout like timeout errors (i.e. undecided).</remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>1.0.1</version>
|
<version>1.0.1</version>
|
||||||
<date>2019-07-30</date>
|
<date>2019-07-30</date>
|
||||||
@ -182,6 +188,10 @@
|
|||||||
<li><strong>Error (<item-not-found>)</strong>: the client is
|
<li><strong>Error (<item-not-found>)</strong>: the client is
|
||||||
joined, but the occupant just changed their name (e.g. initiated by
|
joined, but the occupant just changed their name (e.g. initiated by
|
||||||
a different client).</li>
|
a different client).</li>
|
||||||
|
<li><strong>Error (<remote-server-not-found> or <remote-server-timeout>)</strong>:
|
||||||
|
the remote server is unreachable for unspecified reasons; this can
|
||||||
|
be a temporary network failure or a server outage. No decision can be
|
||||||
|
made based on this; Treat like a timeout (see below).</li>
|
||||||
<li><strong>Any other error</strong><note>Different service
|
<li><strong>Any other error</strong><note>Different service
|
||||||
implementations will send different responses to a client that's not
|
implementations will send different responses to a client that's not
|
||||||
joined. The recommended error code is <not-acceptable>, however
|
joined. The recommended error code is <not-acceptable>, however
|
||||||
|
Loading…
Reference in New Issue
Block a user