pve-http-server/PVE/APIServer
Dietmar Maurer ed8d2557ae websocket: set $max_payload_size = 128*1024; (131072)
AnyEvent checks rbuf_max after calling the callback (too late), so
we can receive larger data, because AnyEvent uses MAX_READ_SIZE=131072
to fill the buffer.

So a more elegant solution is to set $max_payload_size=128*1024. At least
I am not able to receive rbuf larger than 128*1024 now. But I keep the
protection from the previous patch - just to be sure.
2018-06-07 10:08:59 +02:00
..
Formatter use canonical flag for json format 2017-01-16 13:05:21 +01:00
AnyEvent.pm websocket: set $max_payload_size = 128*1024; (131072) 2018-06-07 10:08:59 +02:00
Formatter.pm extract_auth_cookie: always call uri_unescape($ticket) 2017-01-16 14:24:21 +01:00