git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e09eeec
)
defalt read timeout to 60 seconds
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 20 Nov 2013 00:54:28 +0000
(19:54 -0500)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 20 Nov 2013 00:54:28 +0000
(19:54 -0500)
sfa/server/threadedserver.py
patch
|
blob
|
history
diff --git
a/sfa/server/threadedserver.py
b/sfa/server/threadedserver.py
index
7bc434c
..
692c333
100644
(file)
--- a/
sfa/server/threadedserver.py
+++ b/
sfa/server/threadedserver.py
@@
-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()