From 967dcb7682df157d4682d99303eb718031eaeb5f Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 12 May 2017 09:37:49 +0200 Subject: [PATCH] increase max POST data limit to 64 KB 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 --- PVE/APIServer/AnyEvent.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/APIServer/AnyEvent.pm b/PVE/APIServer/AnyEvent.pm index b2d58c5..0276619 100755 --- a/PVE/APIServer/AnyEvent.pm +++ b/PVE/APIServer/AnyEvent.pm @@ -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,