XMPP回拨;接收服务器和权威服务器之间如何通信?
XMPP dialback; How to communicate between Receiving and Authoritative server?
根据 XEP-0220,权威服务器通过新连接接收 db:verify
并向接收服务器发送通过或不通过。
他如何在没有建立连接的情况下将 db:verify
发送到其他服务器?
根据 RFC,正确的 XMPP 流由 stream:stream
和 stream:features
初始化。但是后来我们陷入了一个循环,因为他想再次进行身份验证。
我很确定我在这里错过了什么。感谢您的帮助。
干杯
Answer and quote from jabber mailing list:
You have to distinguish between authenticated and unauthenticated
streams. You can, and in fact have to, exchange dialback elements over
unauthenticated streams. So there is no loop.
我没注意到只有 <message/>
、<presence/>
和 <iq/>
需要验证。
根据 XEP-0220,权威服务器通过新连接接收 db:verify
并向接收服务器发送通过或不通过。
他如何在没有建立连接的情况下将 db:verify
发送到其他服务器?
根据 RFC,正确的 XMPP 流由 stream:stream
和 stream:features
初始化。但是后来我们陷入了一个循环,因为他想再次进行身份验证。
我很确定我在这里错过了什么。感谢您的帮助。
干杯
Answer and quote from jabber mailing list:
You have to distinguish between authenticated and unauthenticated streams. You can, and in fact have to, exchange dialback elements over unauthenticated streams. So there is no loop.
我没注意到只有 <message/>
、<presence/>
和 <iq/>
需要验证。