From 30297c3ba2df317a8efae708a10d39f9b15ba9ba Mon Sep 17 00:00:00 2001 From: ckolivas Date: Wed, 25 Feb 2015 10:35:13 +1100 Subject: [PATCH] Revert ret < 0 check but keep recruiting of new subproxies --- src/generator.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/generator.c b/src/generator.c index 4fec657b..e4bd72be 100644 --- a/src/generator.c +++ b/src/generator.c @@ -1997,11 +1997,6 @@ static void *proxy_recv(void *arg) if (!parse_share(subproxy, cs->buf)) LOGWARNING("Unhandled stratum message: %s", cs->buf); } while ((ret = read_socket_line(cs, 0)) > 0); - if (ret < 0) { - LOGNOTICE("Proxy %ld:%d %s failed to epoll/read_socket_line in proxy_recv", - proxi->id, subproxy->subid, subproxy->si->url); - disable_subproxy(gdata, proxi, subproxy); - } } return NULL;