make rpc threaded backport
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Wed, 11 May 2005 13:23:38 +0000 (13:23 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:28:56 +0000 (23:28 +0200)
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

index 81986b0..cb6954c 100755 (executable)
@@ -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.