@@ -800,8 +800,8 @@ struct stratum_work {
int diff;
};
-#define RECVSIZE 8191
-#define RBUFSIZE (RECVSIZE + 1)
+#define RECVSIZE 8192
+#define RBUFSIZE (RECVSIZE + 4)
struct pool {
int pool_no;
@@ -914,9 +914,6 @@ bool stratum_send(struct pool *pool, char *s, ssize_t len)
return ret;
}
-
static void clear_sock(struct pool *pool)
{
SOCKETTYPE sock = pool->sock;