From 2a24caea18a745a80808b1ad7d07720905904d80 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Tue, 11 Aug 2015 18:08:05 +0200 Subject: [PATCH 1/2] Explain how CSI is affected by in order processing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clarify how the in order processing requirement (RFC 6120 ยง 10.1) affects CSI. --- xep-0352.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/xep-0352.xml b/xep-0352.xml index cb3aa52e..a492889c 100644 --- a/xep-0352.xml +++ b/xep-0352.xml @@ -117,6 +117,28 @@

This protocol is intended primarily for clients with human interaction. Due to the open-ended nature of the possible optimisations implemented by the server, it may not be suitable for non-IM purposes where the fully standard behaviour of XMPP is required.

+ +

+ XMPP requires stanzas to be processed in order as per &rfc6120; 10.1. Especially "If the server's processing of a particular request could have an effect on its processing of subsequent data it might receive over that input stream..., it MUST suspend processing of subsequent data until it has processed the request.". As a result, all actions triggered by a CSI nonza sent to the server must happen before processing further requests from the same client to the server. +

+

+ For example: A client sends a CSI active nonza, followed by an XMPP Ping request to the server. The server first changes the CSI state to active and flushes all eventually queued stanzsa. After the state has been restored to 'active' and +all resulting stanzas have been put on the wire, the +server sends the pong. +

+ + + + + + + + +]]> +

To protect the privacy of users, servers MUST NOT reveal the clients active/inactive state to other From 41e5e6670bdb3dd038cb1c644394a84d7625a28f Mon Sep 17 00:00:00 2001 From: "Matthew A. Miller" Date: Thu, 1 Oct 2015 16:03:54 -0600 Subject: [PATCH 2/2] update revision and add acknowledgement --- xep-0352.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/xep-0352.xml b/xep-0352.xml index a492889c..df6e2b15 100644 --- a/xep-0352.xml +++ b/xep-0352.xml @@ -22,6 +22,12 @@ NOT_YET_ASSIGNED &mwild; + + 0.2 + 2015-10-02 + XEP Editor (mam) +

Explain how SCI is affected by in order procesing (Florian Schmaus).

+ 0.1 2014-08-28 @@ -150,6 +156,9 @@ and responds to the ping with a pong -->

This document requires no interaction with ®ISTRAR;.

+ +

Special thanks to Florian Schmaus for providing clarification text.

+