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
No known key found for this signature in database
GPG key ID: 446A53638BE94409

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) {