defalt read timeout to 60 seconds
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Wed, 20 Nov 2013 00:54:28 +0000 (19:54 -0500)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Wed, 20 Nov 2013 00:54:28 +0000 (19:54 -0500)
sfa/server/threadedserver.py

index 7bc434c..692c333 100644 (file)
@@ -175,6 +175,7 @@ class SecureXMLRPCServer(BaseHTTPServer.HTTPServer,SimpleXMLRPCServer.SimpleXMLR
         ctx.set_app_data(self)
         self.socket = SSL.Connection(ctx, socket.socket(self.address_family,
                                                         self.socket_type))
+        self.socket.settimeout(60)
         self.server_bind()
         self.server_activate()