« Return to Thread: [vysper] initiating entity after resource binding

Re: [vysper] initiating entity after resource binding

by Bernd Fondermann :: Rate this Message:

Reply to Author | View in Thread

Gerolf Seitz wrote:
> hi bernd,
>
> in certain situations (eg probing presence information after initial
> presence, see RFC3921:5.1.1)
> it's necessary to get hold of the full JID. unfortunately it isn't provided
> in the intial presence stanza
> sent from the client.

If a session is bound to more than one resource, how could we determine
which one to process with?

I quickly scanned 5.1.1 and it mentions the full jid.

Side-note: At any time, if there is something ambigious in the rfcs, I
recommend consulting dev@... mailing list or the most current
BIS-revision of the RFC, for example at
http://www.xmpp.org/internet-drafts/draft-saintandre-rfc3921bis-04.html#roster
The BIS-process is due to replace RFC by newer RFC. The BIS docs have a
clearer structure and more examples.

Proposal: If the client does not send full JID (FJID), then we check the
session for a unique resource id. If there is not exactly one, we return
a stanza error. Else, we proceed with the FJID we determined.


   Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: labs-unsubscribe@...
For additional commands, e-mail: labs-help@...

 « Return to Thread: [vysper] initiating entity after resource binding

LightInTheBox - Buy quality products at wholesale price!