]> git.proxmox.com Git - pve-http-server.git/commit - src/PVE/APIServer/AnyEvent.pm
Fix #1684 WebSocket proxy behind a buffered proxy.
authorRené Jochum <r.jochum@proxmox.com>
Fri, 25 May 2018 16:15:22 +0000 (18:15 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 28 May 2018 08:27:08 +0000 (10:27 +0200)
commited979f7a2c32af24ab0fd289127060c9ea4e6564
tree48e01f2ffc523e40628d244e0e6d8995b73cb729
parent0ef7efdb9dc7e3f9d6910744a9ea4898305f2c5d
Fix #1684 WebSocket proxy behind a buffered proxy.

The given patch fixes incoming WebSocket traffic behind buffered Proxies
like NGINX.

NGINX buffers multiple requests from the Browser into one frame and sends that to pveproxy,
before this patch we then processed the first message of the frame and cleared the buffer which
may contained more messages.
With this patch we process each message and clear the buffer right.

This fixes the "NoVNC blank screen" problem users reported on the forums.
PVE/APIServer/AnyEvent.pm