]> git.proxmox.com Git - pve-http-server.git/commit
AnyEvent/websocket_proxy: drop handling of websocket subprotocols
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 17 May 2021 13:07:35 +0000 (15:07 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 18 May 2021 07:24:16 +0000 (09:24 +0200)
commite7eb716588b04fc09ce75e3c793e13d57c1dc696
treeb676c8e96836461b7df081ae6dfe4dcc3e3e3e03
parent1201435994ac9791945ddfbd328c3295814af7e7
AnyEvent/websocket_proxy: drop handling of websocket subprotocols

We do not support any, and we only ever send binary frames, so drop
trying to parse the header.

For compatibility with current clients (novnc, pve-xtermjs), we have
to reply with the protocols it sent.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/PVE/APIServer/AnyEvent.pm