summaryrefslogtreecommitdiffstats
path: root/net/Socket.cpp
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-02-26 16:30:30 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-02-26 16:34:01 +0100
commite5c7c62713b399526f7fafd85c1f02c9a2a5f45f (patch)
tree2eac222836363bffae6158409ec31f3947cbb281 /net/Socket.cpp
parentfix -Werror,-Wunused-function (diff)
downloadonline-e5c7c62713b399526f7fafd85c1f02c9a2a5f45f.tar.gz
online-e5c7c62713b399526f7fafd85c1f02c9a2a5f45f.zip
'static const int' needs an explicit definition in C++11
core.git equivalent situation is e.g. SwXMLTableContext::MAX_WIDTH. Change-Id: Id6f4201e875a7453ab2363161ea9560ae6e40384
Diffstat (limited to 'net/Socket.cpp')
-rw-r--r--net/Socket.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/Socket.cpp b/net/Socket.cpp
index 31ad77c6c5..1bf847cba6 100644
--- a/net/Socket.cpp
+++ b/net/Socket.cpp
@@ -143,6 +143,9 @@ void SocketDisposition::execute()
_socketMove = nullptr;
}
+const int WebSocketHandler::InitialPingDelayMs = 25;
+const int WebSocketHandler::PingFrequencyMs = 18 * 1000;
+
void WebSocketHandler::dumpState(std::ostream& os)
{
os << (_shuttingDown ? "shutd " : "alive ")