Re: Resource Binding Means End of Stream Negotiation?

Peter Saint-Andre <[email protected]> Tue, 15 Aug 2017 11:42:15 -0600
Newsgroups gmane.network.jabber.devel
Message-ID <[email protected]>
On 8/15/17 10:34 AM, Kai-Chung Yan (殷啟聰) wrote:
> 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.

It sounds to me as if the server software you're connecting to makes an
incorrect assumption. Have you tested this with multiple server
implementations?

Peter

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

iQIcBAEBCAAGBQJZkzJ5AAoJEOoGpJErxa2pJDsP/3kU8mNwjQ2sV6Xoj3ImDwZ0
k8g4ea17WO0BiMQoXtf49IBBmn4A6N/M6sz4C5gkR94w4XUF2oxKLnTZwMrnYSgo
S+JGmlfBeOgbZxzpqg5zfew1HkI8ZY9FEou+kr2aHIKXb/faiYI/O0OfdK/cA50V
tfeEg2t5pBWtDQT1ixRwK7adqPiaSzos22/YOR7Ob8M1OZo73Nsbsoe25fOnpBop
Lr7Ue4TLrx1/ddQfPOpoFa4y5MEvKawIlrujW25DlsjKMm2zLzRB8B+aGGHKHJAB
PD6lXnFSpsUrpdvjZw5mDrzthh7Fw7XhNLZ46RejzqhRfRqNLO1aUWy2h+YWpMp7
qqAVxwyM6f4fNtLMY0SpzlyvydELexiMi0qs8pGEvoG5YmtL5yyj8wC3BZrBkADd
bjADpUrbRBVpGtD340G41h02+qjKj0isztR0DrNm+uzSQFVSy4ve9BponwLsYqZI
XTMBdsz9ffgr/KIT+Yh6KIr9eANeGQawMoGHBqUG59G7T6uucCUV2pdiMeZkWS3C
j/Fns0c91AS759MDT9xW7MnjtC4Hlgc19DdkCsx7OhjipfIg1Lvvguf4dYqLTBV+
B//vH2ZN5Zlg41FXUSRKZ9LUkXTcLsnIQwuhIZT1IjTv/TdpRkzMIVPH7u8+735c
tCR53pJuCIRbrxFuFjdO
=vMXz
-----END PGP SIGNATURE-----