[jdev] Server responses to resource conflicts
Will Thompson
will.thompson at collabora.co.uk
Thu Oct 21 09:28:04 CST 2010
On 21/10/10 15:47, Tomasz Sterna wrote:
> On czw, 2010-09-16 at 09:38 +0100, Will Thompson wrote:
>
>> 1. Assign the new client a fresh resource;
>> 2. Boot the old connection, granting the resource to the new client;
>> 3. Refuse the new connection.
>>
>> I don't really think behaviour 3 is very useful.
>>
> a. Protects you from rerunning the same client with the same
> configuration more than once.
>
> b. Protects you from #2 disconnect-dance if both clients are configured
> to reconnect on disconnection.
>
I'd argue that any reasonable client should do the right thing (that is:
not reconnect until explicitly told to) if it's booted for reason
<conflict/>. :)
--
Will
More information about the JDev
mailing list