Merge pull request #2856 from SChernykh/dev

Fix for short responses from some Raptoreum pools
This commit is contained in:
xmrig 2022-01-05 10:22:39 +07:00 committed by GitHub
commit 4001488888
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -661,7 +661,7 @@ void xmrig::Client::parse(char *line, size_t len)
LOG_DEBUG("[%s] received (%d bytes): \"%.*s\"", url(), len, static_cast<int>(len), line);
if (len < 32 || line[0] != '{') {
if (len < 22 || line[0] != '{') {
if (!isQuiet()) {
LOG_ERR("%s " RED("JSON decode failed"), tag());
}