jdev - 2024-08-10


  1. jonas’

    am I seeing this right that XEP-0114 does not use RFC 6120 XML streams?

  2. jonas’

    in particular, it seems to violate "after sending the response stream header the receiving entity MUST send a <features/> child element" from RFC 6120 §4.3.2

  3. Zash

    It does that

  4. Zash

    You may notice the Historical status, suggesting it predates the RFC process :)

  5. Zash

    I think https://xmpp.org/extensions/xep-0225.html was the intended replacement, but it hasn't moved much

  6. jonas’

    okay, thanks

  7. roloi

    i learn for deep

  8. roloi

    i dont understand the server connection

  9. roloi

    Can help me ?

  10. moparisthebest

    You are a server that supports bidi ( https://xmpp.org/extensions/xep-0288.html ), you get 2 incoming s2s connections from example.org (maybe multiple nodes in a cluster... Doesn't matter why), they both enable bidi... Now you have 2 outgoing streams for messages to example.org... which do you send messages out? Or duplicate messages to both 😈 ? Does anything specify this? cc dwd

  11. singpolyma

    You will close one of them. Race condition means effectively random which one.

  12. singpolyma

    You can't be connected twice so the second connection should boot the first one

  13. Zash

    Sure you can be connected twice or more

  14. moparisthebest

    Yes you can be connected *to* multiple times (multiple incoming s2s), but until bidi, you controlled how many outgoing connections you made, with bidi you don't though...

  15. singpolyma

    You still do though. You're not required to allow this multiple outs case. Can close one. Or possibly even reply with error to the bidi enable?

  16. Zash

    In case of a cluster that for some reasons opens one connection per node, wouldn't it be a waste of resources to close the other connections?

  17. Zash

    At least if it just reconnects again from each node.