mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 12:09:22 +00:00
Fixed keepalive extension for initial login response.
This commit is contained in:
parent
2da551e1e9
commit
37f44b4da5
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue