maximum profile data size 1M

master
Bob Mottram 2019-08-26 21:43:24 +01:00
parent 2753e29f49
commit c8cdb7142d
1 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ def readFollowList(filename: str):
class PubServer(BaseHTTPRequestHandler): class PubServer(BaseHTTPRequestHandler):
protocol_version = 'HTTP/1.1' protocol_version = 'HTTP/1.1'
blockSize = 3 * 1024 * 1024 blockSize = 1024 * 1024
def _requestHTTP(self) -> bool: def _requestHTTP(self) -> bool:
"""Should a http response be given? """Should a http response be given?
@ -3127,7 +3127,7 @@ def runDaemon(projectVersion, \
httpd.maxQueueLength=16 httpd.maxQueueLength=16
httpd.ocapAlways=ocapAlways httpd.ocapAlways=ocapAlways
httpd.maxMessageLength=5000 httpd.maxMessageLength=5000
httpd.maxProfileDataLength=3*1024*1024 httpd.maxProfileDataLength=1*1024*1024
httpd.maxImageSize=10*1024*1024 httpd.maxImageSize=10*1024*1024
httpd.allowDeletion=allowDeletion httpd.allowDeletion=allowDeletion
httpd.lastLoginTime=0 httpd.lastLoginTime=0