From d7e0d2c6bf1306ab4518838946d02cb93bbd322a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 18 May 2021 09:25:15 +0200 Subject: [PATCH] websocket: add note about compat removal MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit this major release still needs to have an incompatible client, the next one can drop setting a protocol client-side, and the one after that can remove the protocol handling on the server side. Signed-off-by: Fabian Grünbichler --- src/PVE/APIServer/AnyEvent.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PVE/APIServer/AnyEvent.pm b/src/PVE/APIServer/AnyEvent.pm index 6f0abb7..cd77806 100644 --- a/src/PVE/APIServer/AnyEvent.pm +++ b/src/PVE/APIServer/AnyEvent.pm @@ -650,6 +650,8 @@ sub websocket_proxy { # todo: use stop_read/start_read if write buffer grows to much + # FIXME: remove protocol in PVE/PMG 8.x + # # for backwards, compatibility, we have to reply with the websocket # subprotocol from the request my $res = "$proto 101 Switching Protocols\015\012" . -- 2.39.2