Project

General

Profile

BOSH + 0198

Balakumar M
Added almost 3 years ago

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.


Replies (1)

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam 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.

    (1-1/1)