From: Pierre Habouzit (MadCoder Date: Wed, 11 May 2005 13:31:10 +0000 (+0000) Subject: make rpc threaded backport X-Git-Tag: xorg/old~123 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=724b63e822d6e265175d05ce38e70b3218e82bc9;p=platal.git make rpc threaded backport Patches applied: * opensource@polytechnique.org--2005/platal--release--0.9.6--patch-9 really make it multi threaded git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-639 --- diff --git a/bin/lists.rpc.py b/bin/lists.rpc.py index cb6954c..5401d42 100755 --- a/bin/lists.rpc.py +++ b/bin/lists.rpc.py @@ -82,7 +82,7 @@ ON_CREATE_CMD = get_config('Lists', 'on_create', '') # Manage Basic authentication # -class BasicAuthXMLRPCRequestHandler(SocketServer.ThreadingMixIn, SimpleXMLRPCRequestHandler): +class BasicAuthXMLRPCRequestHandler(SimpleXMLRPCRequestHandler): """XMLRPC Request Handler This request handler is used to provide BASIC HTTP user authentication. @@ -882,7 +882,7 @@ def kill(userdesc,perms,vhost,alias,del_from_promo): #------------------------------------------------------------------------------- # server # -class FastXMLRPCServer(SimpleXMLRPCServer): +class FastXMLRPCServer(SocketServer.ThreadingMixIn, SimpleXMLRPCServer): allow_reuse_address = True ################################################################################