]> git.proxmox.com Git - pve-http-server.git/commit
websocket_proxy: implement ping/pong support
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 6 Mar 2020 10:20:29 +0000 (11:20 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 7 Mar 2020 19:17:41 +0000 (20:17 +0100)
commite6cb79b52c387ef6b266f81b2b75bfb3a0adba00
tree42ef7b4a99b1398feadbd8374c12d3a64814f94f
parentc3bd22ec467b7d886010ccc920d42b03653dc559
websocket_proxy: implement ping/pong support

needed to keep tunnel connections alive.

> The Ping frame contains an opcode of 0x9.
> [...]
> The Pong frame contains an opcode of 0xA.
-- Section 5.5.2 cf. https://tools.ietf.org/html/rfc6455#section-5.5.2

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/APIServer/AnyEvent.pm