Resource Binding Means End of Stream Negotiation?

Kai-Chung Yan (殷啟聰) <[email protected]> Wed, 16 Aug 2017 00:34:06 +0800
Newsgroups gmane.network.jabber.devel
Message-ID <[email protected]>
Dear XMPP community,

I am implementing (yet another) XMPP client library and found something confusing in RFC 6120: XMPP Core.

Section 4.3.5 states that the receiving party sends either an empty <features/> element or one containing only optional features in order to indicate the completion of a stream negotiation. In fact, I believe the receiving party should send a <features/> element immediately after negotiating every single feature.

However my client stuck after finishing Resource Binding and both parties are waiting for further XML data. After I changed the behavior to assume that Resource Binding indicates end of stream negotiation, everything works perfectly I can start exchanging stanzas.

Does that indicate that Resource Binding means the end of a stream negotiation? I fail to find such policy in RFC 6120 or its errata.

Best regards,
Kai-Chung Yan

_______________________________________________
JDev mailing list
Info: https://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________
signature.asc (application/pgp-signature, 862 B)
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCAAyFiEEuIoVOt09lz87H/ea3R+riTf+mCUFAlmTIoMUHHNlYW1saWtv
a0BnbWFpbC5jb20ACgkQ3R+riTf+mCWKwxAArTEhCjTySPiXqXoWISJ7MUYwxi1u
35xZvP7RRDiqa+LrJ1Ky3enCvmRHt5HDO2O+3ZEDMO03NXQM6rtMiwgcTgN/cndh
Z3tcWBIOccMGQHuuP2Tj2UqLP3XDtgGSfjxIYpS66KrEHqOjDVlimQx2QuV6cDl8
t/IE59gXBnM7Vvl0UI/g7mJ0nhN2NAt4kSu55XHhG7RzDq2EDzAlx02naFrIebW0
bbr8c+NUNezmzES7NWEiQivIhAYzupecWS9iI6uaLtRROyNYJOya942GoauyRTM2
J73DYQscnBE67fQN8L1J0d/akx5Vz07K+t2kyVHBVjFqzNCifXsXrpx2n6ia5Y0N
GPW3lx+RGAXyunCPVHYDnW/Xg/3Ml2oRAY1anZ5nv/drop4b7fHsOhfeZwWqM4d1
+QjmWOsZeN+Hu5XMjMJzZd+h/5/CjFheqXu0XCgEITSi5mJBwFccL/W5ZqViDbh7
JkmzzrVKdVT7BQr2soBktMHfqt8kQzIowqhR82Elqjc83Pn03vHQwmHakJ2DEGNt
r7FPm9OM1gB3hXpC6v36qZOko6udAXuf/5+mbBA/4h0cFxiI4LOtEvuJijhI3FUB
V5wr9LWypLudzPDbAjk96RbElCWJ0SX1N7ZUG8buYEgTIe/VzShT0mGmEHFvrrxF
Fry9xsRs7iRX3tc=
=DaLI
-----END PGP SIGNATURE-----