[JDEV] Multiple logins
Robert Temple
robert.temple at dig.com
Wed May 23 15:30:46 CDT 2001
The server handles this strangely. All it sends to the client
that is being disconnected is this:
<stream:error>Disconnected</stream:error>
I suspect that Jarl just automatically tries to reconnect when
it gets disconnected for some unknown reason. If the server made
it known that the reason a client was disconnected was because
of the other signin, the a client could know not to reconnect.
It would be nice if the server indicated the Disconnect reason,
with something like:
<stream:error reason="duplicate">Disconnected</stream:error>
It might also be nice if the server sent the IP of the connection
that booted the other off. Clients can then tell the user the
IP that booted them off.
<stream:error reason="duplicate" from="1.2.3.4">Disconnected</stream:error>
-Robert
> -----Original Message-----
> From: Tony Byers [mailto:nigelmas at zdnetonebox.com]
> Sent: Wednesday, May 23, 2001 11:42 AM
> To: jdev at jabber.org
> Subject: [JDEV] Multiple logins
>
>
> I noticed by accident that if I log into my server with the
> same username
> and resource twice at the same time, both instances
> disconnect and reconnect
> continuously. I'm using Jarl and jabber 1.4.1. Has anyone else seen
> this behavior? Also is anyone using ssl with jarl? Thanks Andrew for
> the mio_ssl fix. Winjab is now working using ssl.
>
>
> Tony
>
> ___________________________________________________________________
> To get your own FREE ZDNet Onebox - FREE voicemail, email, and fax,
> all in one place - sign up today at http://www.zdnetonebox.com
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
More information about the JDev
mailing list