Browse Source

Send stratifier deadproxy message if it's trying to send shares to it

master
Con Kolivas 10 years ago
parent
commit
14805ce8fa
  1. 1
      src/generator.c

1
src/generator.c

@ -1351,6 +1351,7 @@ 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);
}

Loading…
Cancel
Save