diff --git a/src/pool.c b/src/pool.c index b7900fb..b91f61e 100644 --- a/src/pool.c +++ b/src/pool.c @@ -2072,6 +2072,12 @@ client_on_read(struct bufferevent *bev, void *ctx) { client_send_job(client, false); } + else if (strcmp(method, "keepalived") == 0) + { + char *body = stratum_new_status_body(client->json_id, "KEEPALIVED"); + evbuffer_add(output, body, strlen(body)); + free(body); + } else { char *body = stratum_new_error_body(client->json_id, unknown);