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:
parent
6b281e1726
commit
59d10ef9f7
2 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue