|
|
@ -6465,8 +6465,8 @@ static void parse_method(ckpool_t *ckp, sdata_t *sdata, stratum_instance_t *clie |
|
|
|
if (unlikely(cmdmatch(method, "mining.passthrough"))) { |
|
|
|
if (unlikely(cmdmatch(method, "mining.passthrough"))) { |
|
|
|
char buf[256]; |
|
|
|
char buf[256]; |
|
|
|
|
|
|
|
|
|
|
|
if (ckp->proxy) { |
|
|
|
if (ckp->proxy || ckp->node || ckp->remote) { |
|
|
|
LOGNOTICE("Dropping client %s %s trying to connect as passthrough on proxy server %d", |
|
|
|
LOGNOTICE("Dropping client %s %s trying to connect as passthrough on unsupported server %d", |
|
|
|
client->identity, client->address, client->server); |
|
|
|
client->identity, client->address, client->server); |
|
|
|
connector_drop_client(ckp, client_id); |
|
|
|
connector_drop_client(ckp, client_id); |
|
|
|
drop_client(ckp, sdata, client_id); |
|
|
|
drop_client(ckp, sdata, client_id); |
|
|
|