1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 08:23:34 -05:00

Fixed keepalive extension for initial login response.

This commit is contained in:
XMRig
2020-04-19 04:34:43 +07:00
parent 2da551e1e9
commit 37f44b4da5

View File

@@ -744,6 +744,7 @@ void xmrig::Client::parseExtensions(const rapidjson::Value &result)
} }
else if (strcmp(name, "keepalive") == 0) { else if (strcmp(name, "keepalive") == 0) {
setExtension(EXT_KEEPALIVE, true); setExtension(EXT_KEEPALIVE, true);
startTimeout();
} }
# ifdef XMRIG_FEATURE_TLS # ifdef XMRIG_FEATURE_TLS
else if (strcmp(name, "tls") == 0) { else if (strcmp(name, "tls") == 0) {