TCPServer: optimized internal write buffers

This commit is contained in:
SChernykh
2023-01-20 17:03:59 +01:00
parent 595196b5ec
commit f5ac485ac8
3 changed files with 18 additions and 7 deletions
+1 -1
View File
@@ -758,7 +758,7 @@ void StratumServer::on_blobs_ready()
}
const bool result = send(client,
[data, target, hashing_blob, &job_id](void* buf, size_t buf_size)
[data, target, hashing_blob, job_id](void* buf, size_t buf_size)
{
log::hex_buf target_hex(reinterpret_cast<const uint8_t*>(&target), sizeof(uint64_t));