Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Fix idle bug, when redirected client can't auth #581

Merged
merged 1 commit into from
May 2, 2014

Conversation

Elbandi
Copy link

@Elbandi Elbandi commented Apr 25, 2014

This bug comes up at the following situations:
The miner is redirected to other host by client.reconnect method. But the new host rejected the authorization. And 1 minutes later, cgminer detect as alive, because the pool isn't idle (successful subscribed). If this pool has higher priority, miner switch to this pool. But, because the miner doesnt authed yet, doesnt get any work, hash goes to 0.

This patch force disconnect the miner, if auth is failed.

ckolivas added a commit that referenced this pull request May 2, 2014
Fix idle bug, when redirected client can't auth
@ckolivas ckolivas merged commit 3b387ca into ckolivas:master May 2, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants