From ee3c5b0aa41e82b71b3df93f07dd92392e914264 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Wed, 28 Aug 2013 16:40:43 -0400 Subject: SSLServer: Poll for POST data correctly This updates the do_POST() code to cleave more closely to the code in SimpleXMLRPCHandler.do_POST (plus SSL magic, of course). In doing so, it eliminates a select() call whose timeouts were not handled properly, and which thus left stray idle processes around after incomplete XML-RPC calls. --- src/lib/Bcfg2/Server/BuiltinCore.py | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lib/Bcfg2/Server') diff --git a/src/lib/Bcfg2/Server/BuiltinCore.py b/src/lib/Bcfg2/Server/BuiltinCore.py index 2dd83289d..93da767c7 100644 --- a/src/lib/Bcfg2/Server/BuiltinCore.py +++ b/src/lib/Bcfg2/Server/BuiltinCore.py @@ -110,7 +110,6 @@ class Core(BaseCore): keyfile=self.setup['key'], certfile=self.setup['cert'], register=False, - timeout=1, ca=self.setup['ca'], protocol=self.setup['protocol']) except: # pylint: disable=W0702 -- cgit v1.2.3-1-g7c22