From 665a52c82cb940898e471df5d3db2232be389c8e Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 12 Aug 2014 10:48:36 -0400 Subject: [PATCH] Added a nr attribute to the chunk message element. --- xep-0332.xml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/xep-0332.xml b/xep-0332.xml index 33d3e265..2b294ff6 100644 --- a/xep-0332.xml +++ b/xep-0332.xml @@ -33,6 +33,14 @@ peter.waher@jabber.org http://www.linkedin.com/in/peterwaher + + 0.3 + 2014-08-12 + pw + +

A sequence number have been added to chunks, to allow chunked service to work over servers that do not maintain message order.

+
+
0.2 2014-07-07 @@ -860,14 +868,14 @@ Host: clayster.com - iVBORw0KGgoAAAANSUhEUgAAASwAAAGQCAYAA ... + iVBORw0KGgoAAAANSUhEUgAAASwAAAGQCAYAA ... ... - ... 2uPzi9u+tVWJd+e+y1AAAAABJRU5ErkJggg== + ... 2uPzi9u+tVWJd+e+y1AAAAABJRU5ErkJggg== ]]>

@@ -883,7 +891,12 @@ Host: clayster.com and then by the HTTP client who will read the original chunk size elements inserted into the content. More information about HTTP chunking, can be found in RDF2616 ยง3.6.1.

- +

+ Note 3: In order to work over XMPP servers that do not maintain message order, a nr attribute is available on the + chunk element. The first chunk reports a nr of zero. Each succcessive chunk reports a nr that is + incremented by one. In this way, the receiver can make sure to order incoming chunks in the correct order. +

+

Often content being sent can be represented by a file, virtual or real, especially if the content actually represents a file and is not @@ -1942,6 +1955,7 @@ Host: clayster.com +