From e3f3262acbacf56afee628f59e77390550f6b56c Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Wed, 11 May 2005 13:23:38 +0000 Subject: [PATCH] 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 --- bin/lists.rpc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.1.4