From c8cdb7142daf6569f390665396c19d09e3caff35 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 26 Aug 2019 21:43:24 +0100 Subject: [PATCH] maximum profile data size 1M --- daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index c2c5a9c9..fc18dc36 100644 --- a/daemon.py +++ b/daemon.py @@ -147,7 +147,7 @@ def readFollowList(filename: str): class PubServer(BaseHTTPRequestHandler): protocol_version = 'HTTP/1.1' - blockSize = 3 * 1024 * 1024 + blockSize = 1024 * 1024 def _requestHTTP(self) -> bool: """Should a http response be given? @@ -3127,7 +3127,7 @@ def runDaemon(projectVersion, \ httpd.maxQueueLength=16 httpd.ocapAlways=ocapAlways httpd.maxMessageLength=5000 - httpd.maxProfileDataLength=3*1024*1024 + httpd.maxProfileDataLength=1*1024*1024 httpd.maxImageSize=10*1024*1024 httpd.allowDeletion=allowDeletion httpd.lastLoginTime=0