[XEND] Change SrvServer to not require sockets to be non-blocking.
authorAlastair Tse <atse@xensource.com>
Thu, 18 Jan 2007 15:52:23 +0000 (15:52 +0000)
committerAlastair Tse <atse@xensource.com>
Thu, 18 Jan 2007 15:52:23 +0000 (15:52 +0000)
commit53a668c52d1aa42993f1e194a1ba2c4265a945cf
tree5d543bec0aca4be030100c2dff887d05c5946350
parent7ccf58133f0ac30a829214d0180603d8d6c7fae3
[XEND] Change SrvServer to not require sockets to be non-blocking.

Set all spawned server threads to be daemonic and make sure their
sockets are closed properly using shutdown() and close(), otherwise
reload will complain about the "Address still in use."

Signed-off-by: Alastair Tse <atse@xensource.com>
tools/python/xen/util/xmlrpclib2.py
tools/python/xen/web/httpserver.py
tools/python/xen/xend/server/SrvServer.py
tools/python/xen/xend/server/XMLRPCServer.py