]> git.proxmox.com Git - pve-http-server.git/commitdiff
increase max POST data limit to 64 KB
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 12 May 2017 07:37:49 +0000 (09:37 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 24 May 2017 09:28:22 +0000 (11:28 +0200)
this matches also our wbuf_max settings of our AnyEvent handle

Tested with 1000 parallel started dummy POST request with 64KB
payload, wh

It should not be too problematic to increase the limit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/APIServer/AnyEvent.pm

index b2d58c5542aa52330af2931610d5aa204bf4f001..0276619f6f033ffd7961bcb3341de35a9f0e96e4 100755 (executable)
@@ -47,7 +47,7 @@ use Data::Dumper;
 
 my $limit_max_headers = 30;
 my $limit_max_header_size = 8*1024;
-my $limit_max_post = 16*1024;
+my $limit_max_post = 64*1024;
 
 my $known_methods = {
     GET => 1,