From 962d470acb9e1e0c3e694b67258fffd4b777821c Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 7 Jun 2018 06:44:21 +0200 Subject: [PATCH] websocket: set max_payload_size to 128*1024 Because our server sends larger frames up to 128KB. --- PVE/APIClient/Commands/lxc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/APIClient/Commands/lxc.pm b/PVE/APIClient/Commands/lxc.pm index 81dfd3f..7e1c427 100644 --- a/PVE/APIClient/Commands/lxc.pm +++ b/PVE/APIClient/Commands/lxc.pm @@ -19,7 +19,7 @@ use base qw(PVE::CLIHandler); use PVE::APIClient::Config; my $CRLF = "\x0D\x0A"; -my $max_payload_size = 65536; +my $max_payload_size = 128*1024; my $build_web_socket_request = sub { my ($host, $path, $ticket, $termproxy) = @_; -- 2.39.2