[AWS] Clean Termination
Pascal Obry
pascal at obry.org
Mon Sep 20 21:20:31 CEST 2004
Ian,
> It seems that shutdown does not wait for the connection
> to close; there is a race condition?
That's certainly the problem. When you shutdown AWS does not wait for requests
to be terminated. It would certainly be a nice enhancement. To have this
working you need to add a small delay before the AWS.Server.Shutdown
call. Something like 1 or 2 seconds should be enough. Of course nothing is
guaranteed... but well it is definitely delicate to stop a server using a the
server itself!
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
More information about the AWS
mailing list