Browse Source

Flag proxies as dead if they fail connect_proxy

master
Con Kolivas 10 years ago
parent
commit
235cdf3c96
  1. 2
      src/generator.c

2
src/generator.c

@ -1589,7 +1589,7 @@ static bool proxy_alive(ckpool_t *ckp, server_instance_t *si, proxy_instance_t *
LOGINFO("Failed to connect to %s:%s in proxy_mode!", LOGINFO("Failed to connect to %s:%s in proxy_mode!",
cs->url, cs->port); cs->url, cs->port);
} }
return ret; goto out;
} }
if (ckp->passthrough) { if (ckp->passthrough) {
if (!passthrough_stratum(cs, proxi)) { if (!passthrough_stratum(cs, proxi)) {

Loading…
Cancel
Save