From 37f44b4da53c497e3d41aa7e27ad35883398ca5f Mon Sep 17 00:00:00 2001 From: XMRig Date: Sun, 19 Apr 2020 04:34:43 +0700 Subject: [PATCH] Fixed keepalive extension for initial login response. --- src/base/net/stratum/Client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/base/net/stratum/Client.cpp b/src/base/net/stratum/Client.cpp index 5e442bd6e..a01b6f589 100644 --- a/src/base/net/stratum/Client.cpp +++ b/src/base/net/stratum/Client.cpp @@ -744,6 +744,7 @@ void xmrig::Client::parseExtensions(const rapidjson::Value &result) } else if (strcmp(name, "keepalive") == 0) { setExtension(EXT_KEEPALIVE, true); + startTimeout(); } # ifdef XMRIG_FEATURE_TLS else if (strcmp(name, "tls") == 0) {