BOSH + 0198
Is it relevant to use enabling stream management & send ack elements over the stream in bosh connection? we have web client using bosh, but when we send server returns feature-not-implemented.
Added by Andrzej Wójcik almost 3 years ago
This is because there is no support for stream management over BOSH connection.
Clint XMPP connection uses single TCP connection, same as WebSocket connection and it supports Stream Management as there is a single TCP connection which can be detected if it is broken or not.
BOSH however uses many TCP/HTTP connections and if any packet will not be delivered to server then connection should be closed - every requests needs to have proper rid attribute value. This detection is part of BOSH protocol. But it is almost impossible to detect if one of connection was lost and data to client was not delivered - even for client. Due to that there is no implementation of Stream Management for BOSH.