libreoffice-online/net
Ashod Nakashian cd980c9ba6 wsd: wait InitialPingDelayMicroS before first ping
It seems we were always pinging immediately on a
newly created WebSocket, even before upgrading to
WS, which logged a warning. That was because we
create the WebSocketHandler instance with a
timed-out lastPingSentTime.

Here we correctly set lastPingSentTime such that
it times out *after* InitialPingDelayMicroS has
elapsed. This gives it time to upgrade the
socket to WS and avoid the warning.

Change-Id: I6004348b9b4bd29f614d9e010fb7649da2bca338
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-21 19:41:38 -05:00
..
Buffer.hpp
clientnb.cpp
DelaySocket.cpp mutex include cleanup. 2022-08-31 21:31:31 +01:00
DelaySocket.hpp mutex include cleanup. 2022-08-31 21:31:31 +01:00
FakeSocket.cpp
FakeSocket.hpp
HttpHelper.cpp add 'Connection: close' header to http responses. 2022-10-04 13:45:58 +02:00
HttpHelper.hpp
HttpRequest.cpp wsd: http: improved logging 2022-08-02 07:51:52 -04:00
HttpRequest.hpp wsd: http: improved logs 2022-11-28 12:50:36 +01:00
NetUtil.cpp
NetUtil.hpp Fix typos in comments 2022-08-23 18:37:44 +02:00
ServerSocket.hpp wsd: make socket FD log prefix implicit and cleanup logs 2022-06-07 09:09:00 +01:00
Socket.cpp wsd: better log levels 2022-12-21 19:41:38 -05:00
Socket.hpp wsd: log closed-socket state on read explicitly 2022-11-28 12:50:36 +01:00
Ssl.cpp wsd: use the default DH parameters in SSL 2022-04-22 09:47:19 +02:00
Ssl.hpp
SslSocket.hpp wsd: ssl: log the operation context in errors 2022-11-21 08:45:34 -05:00
WebSocketHandler.hpp wsd: wait InitialPingDelayMicroS before first ping 2022-12-21 19:41:38 -05:00
WebSocketSession.hpp wsd: change message logging level to trace 2022-12-07 17:33:11 +03:00