mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Add timeout to integrated sever
This commit is contained in:
parent
54b47c4a3e
commit
b55d2181ed
4 changed files with 21 additions and 2 deletions
|
@ -170,6 +170,7 @@ def run():
|
|||
name, filename, exception))
|
||||
else:
|
||||
server_class = ThreadedHTTPServer
|
||||
server_class.client_timeout = configuration.getint("server", "timeout")
|
||||
|
||||
if not configuration.getboolean("server", "dns_lookup"):
|
||||
RequestHandler.address_string = lambda self: self.client_address[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue