[jdev] Question about resource binding to server implementors
Michal Vaner (Vorner)
michal.vaner at kdemail.net
Tue Mar 28 00:22:39 CST 2006
Dne úterý 28 březen 2006 07:06 Vinod Panicker napsal(a):
> Hi,
>
> Just wanted to check with the server implementors - Do you allow
> multiple "connected" resources with the same resource identifier?
According to to specification, resource must be unique, therefore it is not
allowed to have two same resources.
> If yes, how do you handle delivery of <iq/> stanzas addressed to the
> full jid of the user.
>
> If no, how do you handle it when a client connects with a resource
> identifier that is already in use?
There are three possible ways on the server, two on the client side.
On the client side, the client may set the resource to something or let the
server choose something for him.
On the server side, it is possible to drop the old (which is more logic, it
can be some hanging connection that did not timeout yet), drop the new one or
change the wanted resource. Yes, server can return different resource than
client asked for and in this case, it may be a good solution sometimes.
> Regards,
> Vinod.
--
Ostatně soudím, že uzavřené protokoly a formáty by měly být zničeny, stejně
jako Kartágo.
Michal Vaner (Vorner)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20060328/52d0dd95/attachment-0002.pgp>
More information about the JDev
mailing list