]> git.proxmox.com Git - pve-http-server.git/commitdiff
websocket: add note about compat removal
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 18 May 2021 07:25:15 +0000 (09:25 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 18 May 2021 07:25:33 +0000 (09:25 +0200)
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 <f.gruenbichler@proxmox.com>
src/PVE/APIServer/AnyEvent.pm

index 6f0abb7fbc1fd8d00b00132a70045f25851f0748..cd778064ff35c96aed714259734baa58224b6de1 100644 (file)
@@ -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" .