master
Bob Mottram 2019-09-03 20:30:41 +01:00
parent 407c1e4c85
commit 7398583907
1 changed files with 1 additions and 1 deletions

View File

@ -3312,9 +3312,9 @@ def runDaemon(projectVersion, \
httpd = ThreadingHTTPServer(serverAddress, PubServerUnitTest) httpd = ThreadingHTTPServer(serverAddress, PubServerUnitTest)
else: else:
httpd = ThreadingHTTPServer(serverAddress, PubServer) httpd = ThreadingHTTPServer(serverAddress, PubServer)
# max POST size of 10M
httpd.outboxThread=None httpd.outboxThread=None
httpd.projectVersion=projectVersion httpd.projectVersion=projectVersion
# max POST size of 30M
httpd.maxPostLength=1024*1024*30 httpd.maxPostLength=1024*1024*30
httpd.maxMediaSize=httpd.maxPostLength httpd.maxMediaSize=httpd.maxPostLength
httpd.maxMessageLength=5000 httpd.maxMessageLength=5000