Justin Karneges wrote: > The default namespace is nice, since we needed to qualify the <message/> > stanzas anyway. The 'to' and 'from' are a tad superfluous, but maybe we > should consider them for consistency with XEP-174 (Link Local) ? Same for > putting to/from on the message stanzas. [...] > <stream:stream > xmlns='jabber:client' > xmlns:stream='http://etherx.jabber.org/streams' > from='[EMAIL PROTECTED]' > to='[EMAIL PROTECTED]'> > <message from='[EMAIL PROTECTED]' to='[EMAIL PROTECTED]'> > <body>M'lady, I would be pleased to make your acquaintance.</body> > </message>
Since for both XTLS and link-local we do not need the to and the from in message and iq stanzas. IIRC XEP-0174 says I MUST add them, but we already have them in the stream. So why not use the FULL jid the the <stream> and strip all routing information later? > I also think it would be worth having a note about proper stream > closure. It may be comforting to know if the peer has intentionally > ended an XTLS session, to distinguish from a network problem or > attack. Sounds ok to me. Dirk -- Sorry - yesterday was the deadline for all complaints.
