From 7831818a88408fc8cc0da71b3c70ab1e953014b5 Mon Sep 17 00:00:00 2001 From: XMRig Date: Mon, 23 Oct 2017 16:45:40 +0300 Subject: [PATCH] v2.4.2 --- src/net/Client.cpp | 6 +++++- src/version.h | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/net/Client.cpp b/src/net/Client.cpp index dfe202a40..88134ae74 100644 --- a/src/net/Client.cpp +++ b/src/net/Client.cpp @@ -220,7 +220,11 @@ bool Client::parseJob(const rapidjson::Value ¶ms, int *code) } if (m_job == job) { - LOG_WARN("[%s:%u] duplicate job received, ignore", m_url.host(), m_url.port()); + if (!m_quiet) { + LOG_WARN("[%s:%u] duplicate job received, reconnect", m_url.host(), m_url.port()); + } + + close(); return false; } diff --git a/src/version.h b/src/version.h index 65bd4196b..42d8e208c 100644 --- a/src/version.h +++ b/src/version.h @@ -27,7 +27,7 @@ #define APP_ID "xmrig-proxy" #define APP_NAME "xmrig-proxy" #define APP_DESC "XMRig Stratum proxy" -#define APP_VERSION "2.4.1" +#define APP_VERSION "2.4.2" #define APP_DOMAIN "xmrig.com" #define APP_SITE "www.xmrig.com" #define APP_COPYRIGHT "Copyright (C) 2016-2017 xmrig.com" @@ -35,7 +35,7 @@ #define APP_VER_MAJOR 2 #define APP_VER_MINOR 4 -#define APP_VER_BUILD 1 +#define APP_VER_BUILD 2 #define APP_VER_REV 0 #ifdef _MSC_VER