util: LineReader - Drop support for raw std::byte spans

TorControlConnection and HTTPRemoteClient have been updated to use std::string receive buffers which mirrors approach in HTTPClient::ReadResponse().
This commit is contained in:
Hodlinator
2026-07-28 10:12:08 +02:00
parent 5d5cdcd79d
commit dff44e4c8f
6 changed files with 5 additions and 7 deletions

View File

@@ -861,7 +861,7 @@ void HTTPServer::SocketHandlerConnected(const IOReadiness& io_readiness) const
}
if (recv_ready || err_ready) {
std::byte buf[0x10000]; // typical socket buffer is 8K-64K
char buf[0x10000]; // typical socket buffer is 8K-64K
const ssize_t nrecv{WITH_LOCK(
client->m_sock_mutex,