1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00

Only limit content length with internal server

This commit is contained in:
Unrud 2018-08-16 08:00:01 +02:00
parent 6b281e1726
commit 59d10ef9f7
2 changed files with 4 additions and 3 deletions

View file

@ -236,7 +236,7 @@ def serve(configuration):
except ValueError as e:
raise RuntimeError(
"Failed to parse address %r: %s" % (host, e)) from e
application = Application(configuration)
application = Application(configuration, internal_server=True)
try:
server = wsgiref.simple_server.make_server(
address, port, application, server_class, RequestHandler)