[Psi-Devel] account registration @ jabber.org

Magnus Henoch mange at freemail.hu
Wed Nov 28 05:44:18 PST 2007


Kevin Smith <kevin at kismith.co.uk> writes:

> On 28 Nov 2007, at 03:01, Michail Pishchagin wrote:
>> Couldn't we simply request the registration form, then terminate a
>> connection and establish a new connection when all the parameters are
>> ready?
>
> Not if we want it to work reliably; the server config may well have  
> changed since we requested the form (this is another of these examples  
> that keeps popping up of where we need atomicity). The solution is  
> really just leaving the socket open for a reasonable length of time.  
> It doesn't have to be forever, just long enough to reasonably fill out  
> the form.

How is reconnecting any less atomic than retrieving and submitting the
form in the same connection?

-- 
Magnus
JID: legoscia at jabber.cd.chalmers.se



More information about the Psi-Devel mailing list