mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 07:36:41 +02:00
leave no_delay option default
This commit is contained in:
parent
60ed5b46d4
commit
756dd428f0
6 changed files with 7 additions and 10 deletions
|
@ -354,10 +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
|
||||
// asio::ip::tcp::no_delay option;
|
||||
// socket->get_option(option);
|
||||
// logE << "no_delay: " << option.value() << "\n";
|
||||
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