On 01.07.2016 16:22, Marcel Waldvogel wrote: > For reliability requirements over wireless connections: don't use BOSH; > do use Stream Management (XEP-0198)
Exactly. And if you want the BOSH advantage over XMPP's TCP binding, i.e., using standard HTTP(S) ports, then use XMPP's WebSocket binding (RFC 7395) + Stream Management. Some background to this thread: https://community.igniterealtime.org/message/258562#comment-258562 I have not much experience with BOSH as I don't/seldom use it. I've merged Smack's BOSH branch when I took over Smack and fixed a few things, but the code should be considered unmaintained. I wonder if BOSH is suitable for mobile environments. In my experience those environments require being able to check the underlying TCP connection for liveness, which is not trivial when using BOSH I imagine. Using the BOSH Technique in mobile environments could cause serious UX issues if the first connection hangs in the long-polling state because the TCP connection broke down silently. WebSocket doesn't have this issues, and provides the same feature set as BOSH when used with Stream Management. I think it is the future and that there is no real reason, besides implementation availability, to use BOSH any more. Sadly there is no support for XMPP over WebSocket in Smack (yet). - Florian
signature.asc
Description: OpenPGP digital signature
_______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: jdev-unsubscr...@jabber.org _______________________________________________