@ -1384,7 +1384,6 @@ static void submit_share(gdata_t *gdata, json_t *val)
if (!proxi->alive) {
LOGNOTICE("Client %"PRId64" attempting to send shares to dead proxy %d:%d, dropping",
client_id, id, subid);
send_stratifier_deadproxy(ckp, id, subid);
stratifier_reconnect_client(ckp, client_id);
return json_decref(val);
}
@ -2209,7 +2209,8 @@ static void lazy_reconnect_client(sdata_t *sdata, stratum_instance_t *client)
if (!client->reconnect) {
LOGNOTICE("Flagging client %"PRId64, client->id);
client->reconnect = true;
} else /* Already been flagged, force the send */
reconnect_client(sdata, client);