Closed GoogleCodeExporter closed 9 years ago
I can confirm this. It's not a websockets-only problem though, with BOSH it
happens as well (missing xmlns on stream:features).
I checked afterwards what ejabberd does (with BOSH only) - it *does* send the
xmlns on stream:features.
I guess this is a bug in prosody then.
Original comment by michael....@gmail.com
on 10 Jan 2014 at 8:23
I have never seen prosody send a stream xmlns on <stream:features/> on a normal
c2s stream (it is not needed since the <stream:stream> includes it). Can't
reproduce that either, on any deployment, or current checkout.
For mod_bosh this is entirely expected behaviour, too. The stream namespace is
included on the surrounding <body/> element, cf. XEP-0206 Example 2.
For mod_websocket this is in fact an open issue in the XMPP WG. The discussion
is, whether to include all required namespaces in each WebSocket message, or
whether to send data as it would be on a regular c2s stream.
We currently opt for the later, which is also suggested by the current version
of the XMPP over WebSocket draft
<http://tools.ietf.org/html/draft-ietf-xmpp-websocket-00>.
Did fix the typo though.
Original comment by flo...@babelmonkeys.de
on 10 Jan 2014 at 11:35