]> 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 08:18:32 +0000 (10:18 +0200)
commit13a73eee2a91ccbcb49ec18752aaa74e8e2607b8
tree1ec572d50449fe9949c5b2e95612258d2eacd293
parent015964a341f3369e6ea59befe6b873fa17cbf629
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