[Standards] BOSH patches

Christian Schudt christian.schudt at gmx.de
Tue Dec 10 22:06:13 UTC 2013


I am new to this mailing list.

I have been trying to implement BOSH in Java (client side) on basis of draft 1.10.

I think the document is quite understandable.

However, I ran into the following issues:
- I did not understand the HTTP pipelining stuff, which is now removed :)
- The 'rid' and 'ack' attribute are marked as "positiveInteger" in the XSD. However, in Java, you need type "long" to represent the largest number (2^53-1). I think this should be changed to "unsignedLong". (integer is only 32-bit in XSD).
- "The client MUST generate a large, random, positive integer for the initial 'rid'": What is large? Is there a minimum? And should be "positive long".
- The from attribute. I think it should be: "it MUST forward the identity to the client by including a 'from' attribute in a response" (instead of MAY), because the core spec says:
"For response stream headers in both client-to-server and server-to-server communication, the receiving entity MUST include the 'from' attribute"
… just to be conform.
- The sentence "The client SHOULD NOT open more than two HTTP connections to the connection manager at the same time" confused me, because the document also said the number is defined by the "requests" attribute. But this sentence is now gone in 1.11.

In the 1.11 version I don't really understand the diagram under point 4. Too many "empty" bodies.
- What is the left side and the right side?
- From "X" to "*" is one HTTP request? Then why is there a long time no request (but many pipes |)?

Kind regards,

Am 10.12.2013 um 22:12 schrieb Peter Saint-Andre:

> On 11/27/13 8:23 AM, Winfried Tilanus wrote:
>> On 08-11-13 23:40, Peter Saint-Andre wrote:
>> Hi,
>>> Sitting here at IETF 88 with Lance Stout, I'm reminded to finally 
>>> apply the collected patch he sent me to incorporate all the hard 
>>> work that various folks on this list did earlier this year on 
>>> XEP-0124 and XEP-0206. The rendered files and diffs are as 
>>> follows.
>>> http://xmpp.org/extensions/tmp/xep-0124-1.11.html
>>> http://xmpp.org/extensions/diff/api/xep/0124/diff/1.10/vs/1.11rc1
>>> http://xmpp.org/extensions/tmp/xep-0206-1.4.html
>>> http://xmpp.org/extensions/diff/api/xep/0206/diff/1.3/vs/1.4rc1
> Lance has sent me an updated patch, which I have applied. The diff
> between 124rc1 and 124rc2 is here:
> http://xmpp.org/extensions/diff/api/xep/0124/diff/1.11rc1/vs/1.11rc2
> Peter
> -- 
> Peter Saint-Andre
> https://stpeter.im/

More information about the Standards mailing list