diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/SSLServer.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/SSLServer.py b/src/lib/SSLServer.py index 68ed8f94d..2bdb5ea73 100644 --- a/src/lib/SSLServer.py +++ b/src/lib/SSLServer.py @@ -129,6 +129,7 @@ class SSLServer (SocketServer.TCPServer, object): def get_request(self): (sock, sockinfo) = self.socket.accept() + sock.settimeout(90) sslsock = ssl.wrap_socket(sock, server_side=True, certfile=self.certfile, keyfile=self.keyfile, cert_reqs=self.mode, ca_certs=self.ca, ssl_version=self.ssl_protocol) |