Files
andrey d6d432f3c6 fix(picloud): take mutex_buff around buff in internalDisconnect and bytesAvailable
PICloudClient::internalDisconnect() cleared buff without mutex_buff
while the eth read thread appends to it concurrently (close() races
with in-flight Data frames), and bytesAvailable() read buff.size()
lock-free on both PICloudClient and PICloudServer::Client. Take the
lock in both places (mutex_buff made mutable for the const getter).
2026-08-23 17:17:47 +03:00
..
2022-12-14 14:13:52 +03:00