[PATCH] Threaded minion server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

attached!

- --
John Eckersberg
Production Operations
Red Hat, Inc.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHijwoO5VSO/Qqm+gRAsEjAKCAqLUxU9pahfZh2hzIJZ+8WQWzOgCgnxHT
FH184bLuWLjCDk0E7J58uQg=
=AL2K
-----END PGP SIGNATURE-----
diff --git a/func/minion/AuthedXMLRPCServer.py b/func/minion/AuthedXMLRPCServer.py
index 265d1b2..0ec9ce0 100644
--- a/func/minion/AuthedXMLRPCServer.py
+++ b/func/minion/AuthedXMLRPCServer.py
@@ -20,7 +20,7 @@ import socket
 import SimpleXMLRPCServer
 from func import SSLCommon
 import OpenSSL
-
+import SocketServer
 
 
 class AuthedSimpleXMLRPCRequestHandler(SimpleXMLRPCServer.SimpleXMLRPCRequestHandler):
@@ -50,7 +50,7 @@ class AuthedSimpleXMLRPCRequestHandler(SimpleXMLRPCServer.SimpleXMLRPCRequestHan
             print "Error (%s): socket error - '%s'" % (self.client_address, e)
 
 
-class BaseAuthedXMLRPCServer:
+class BaseAuthedXMLRPCServer(SocketServer.ThreadingMixIn):
     def __init__(self, address, authinfo_callback=None):
         self.allow_reuse_address = 1
         self.logRequests = 1
_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux