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:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user