Fix timeout setting, ignore log

This commit is contained in:
Ian Gulliver
2016-04-10 05:55:53 +00:00
parent 88a58e60b8
commit 367b8795b6
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -63,3 +63,4 @@ target/
# daemontools coexistance
run
log

View File

@@ -85,7 +85,7 @@ class CertServer(object):
cert_reqs=ssl.CERT_REQUIRED,
ssl_version=ssl.PROTOCOL_TLSv1_2,
ciphers='ECDHE-ECDSA-AES256-GCM-SHA384')
self._httpd.settimeout(5.0)
self._httpd.socket.settimeout(5.0)
def Serve(self):
self._httpd.serve_forever()