mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-09 15:16:42 +02:00
no_delay
This commit is contained in:
parent
54e544189a
commit
991c963b7d
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ void StreamServer::handleAccept(socket_ptr socket)
|
|||
setsockopt(socket->native_handle(), SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv));
|
||||
|
||||
/// experimental: turn on tcp::no_delay
|
||||
// socket->set_option(tcp::no_delay(true));
|
||||
socket->set_option(tcp::no_delay(true));
|
||||
|
||||
logS(kLogNotice) << "StreamServer::NewConnection: " << socket->remote_endpoint().address().to_string() << endl;
|
||||
shared_ptr<StreamSession> session = make_shared<StreamSession>(this, socket);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue