From: Pierre Habouzit (MadCoder Date: Wed, 11 May 2005 13:23:38 +0000 (+0000) Subject: make rpc threaded backport X-Git-Tag: xorg/old~124 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=e3f3262acbacf56afee628f59e77390550f6b56c;p=platal.git make rpc threaded backport Patches applied: * opensource@polytechnique.org--2005/platal--release--0.9.6--patch-8 make xmlrpc threaded git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-638 --- diff --git a/bin/lists.rpc.py b/bin/lists.rpc.py index 81986b0..cb6954c 100755 --- a/bin/lists.rpc.py +++ b/bin/lists.rpc.py @@ -21,6 +21,7 @@ import base64, MySQLdb, os, getopt, sys, sha, signal, re, shutil, ConfigParser import MySQLdb.converters +import SocketServer sys.path.append('/usr/lib/mailman/bin') @@ -81,7 +82,7 @@ ON_CREATE_CMD = get_config('Lists', 'on_create', '') # Manage Basic authentication # -class BasicAuthXMLRPCRequestHandler(SimpleXMLRPCRequestHandler): +class BasicAuthXMLRPCRequestHandler(SocketServer.ThreadingMixIn, SimpleXMLRPCRequestHandler): """XMLRPC Request Handler This request handler is used to provide BASIC HTTP user authentication.