Commit 90cfa557 authored by Łukasz Nowak's avatar Łukasz Nowak

http: Timeout misbehaving clients

parent be9ef7a2
...@@ -50,6 +50,9 @@ from .ca import CertificateAuthority, UserCertificateAuthority, Extension ...@@ -50,6 +50,9 @@ from .ca import CertificateAuthority, UserCertificateAuthority, Extension
from .storage import SQLite3Storage from .storage import SQLite3Storage
from .http_wsgirequesthandler import WSGIRequestHandler from .http_wsgirequesthandler import WSGIRequestHandler
# Timeout misbehaving clients
socket.setdefaulttimeout(10)
_cryptography_backend = default_backend() _cryptography_backend = default_backend()
BACKUP_SUFFIX = '.sql.caucased' BACKUP_SUFFIX = '.sql.caucased'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment