mirror of
https://github.com/LibreOffice/online.git
synced 2025-07-23 00:48:13 +00:00

Per the rfc (https://tools.ietf.org/html/rfc6455#section-5.5.2): "An endpoint MAY send a Ping frame any time after the connection is established and before the connection is closed." And "Upon receipt of a Ping frame, an endpoint MUST send a Pong frame in response, unless it already received a Close frame." Here we allow for pings to come from clients and we respond to them by pongs, as required by rfc 6455. Change-Id: I8e285f095526e4b67373ecb3ae1efc9c8717d756 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102948 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>