mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-12 21:52:53 +02:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user