Commit 3b387ca67f226edccb3cf13cc827d7b57b2282aa

Con Kolivas 2014-05-02T10:54:38

Merge pull request #581 from Elbandi/idlebugfix Fix idle bug, when redirected client can't auth

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/util.c b/util.c
index 65692f2..a710204 100644
--- a/util.c
+++ b/util.c
@@ -2025,6 +2025,8 @@ bool auth_stratum(struct pool *pool)
 		applog(LOG_INFO, "pool %d JSON stratum auth failed: %s", pool->pool_no, ss);
 		free(ss);
 
+		suspend_stratum(pool);
+
 		goto out;
 	}