From: Dietmar Maurer Date: Thu, 7 Jun 2018 04:44:21 +0000 (+0200) Subject: websocket: set max_payload_size to 128*1024 X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=commitdiff_plain;h=962d470acb9e1e0c3e694b67258fffd4b777821c;hp=e9d848651dd50d169a532d4428f47b0754e5ac9d websocket: set max_payload_size to 128*1024 Because our server sends larger frames up to 128KB. --- 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) = @_;