[Psi-Devel] account registration @ jabber.org

Kevin Smith kevin at kismith.co.uk
Tue Nov 27 23:52:15 PST 2007


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.

/K


More information about the Psi-Devel mailing list