The command for stratum is client.reconnect, not mining.reconnect.
diff --git a/util.c b/util.c
index d5243ae..a9ac600 100644
--- a/util.c
+++ b/util.c
@@ -1169,7 +1169,7 @@ bool parse_method(struct pool *pool, char *s)
goto out;
}
- if (!strncasecmp(buf, "mining.reconnect", 16) && parse_reconnect(pool, params)) {
+ if (!strncasecmp(buf, "client.reconnect", 16) && parse_reconnect(pool, params)) {
ret = true;
goto out;
}