mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-10 05:27:01 +03:00
fix potential cspot on socket timeout & optimize HTTP server - release
This commit is contained in:
@@ -126,7 +126,7 @@ std::vector<uint8_t> PlainConnection::readBlock(size_t size)
|
||||
break;
|
||||
default:
|
||||
if (retries++ > 4) throw std::runtime_error("Error in read");
|
||||
|
||||
goto READ;
|
||||
}
|
||||
}
|
||||
idx += n;
|
||||
|
||||
Reference in New Issue
Block a user