mirror of https://gitlab.com/bashrc2/epicyon
Use the post maximum size
parent
f0485fc957
commit
dbd83b6eb9
|
@ -2130,7 +2130,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.POSTbusy=False
|
self.server.POSTbusy=False
|
||||||
return
|
return
|
||||||
length = int(self.headers['Content-length'])
|
length = int(self.headers['Content-length'])
|
||||||
if length>self.server.maxProfileDataLength:
|
if length>self.server.maxPostLength:
|
||||||
print('Maximum profile data length exceeded '+str(length))
|
print('Maximum profile data length exceeded '+str(length))
|
||||||
self._redirect_headers(actorStr,cookie)
|
self._redirect_headers(actorStr,cookie)
|
||||||
self.server.POSTbusy=False
|
self.server.POSTbusy=False
|
||||||
|
@ -3128,7 +3128,6 @@ def runDaemon(projectVersion, \
|
||||||
httpd.maxQueueLength=16
|
httpd.maxQueueLength=16
|
||||||
httpd.ocapAlways=ocapAlways
|
httpd.ocapAlways=ocapAlways
|
||||||
httpd.maxMessageLength=5000
|
httpd.maxMessageLength=5000
|
||||||
httpd.maxProfileDataLength=10*1024*1024
|
|
||||||
httpd.maxImageSize=10*1024*1024
|
httpd.maxImageSize=10*1024*1024
|
||||||
httpd.allowDeletion=allowDeletion
|
httpd.allowDeletion=allowDeletion
|
||||||
httpd.lastLoginTime=0
|
httpd.lastLoginTime=0
|
||||||
|
|
Loading…
Reference in New Issue