diff --git a/ircd/client.cc b/ircd/client.cc index d702e9d51..28418d85a 100644 --- a/ircd/client.cc +++ b/ircd/client.cc @@ -461,6 +461,15 @@ ircd::handle_request(client &client, std::shared_ptr ircd::add_client(std::shared_ptr s) { + //ip::tcp::socket &sd(*s); + //sd.non_blocking(false); + + //static const asio::socket_base::keep_alive keep_alive(true); + //sd.set_option(keep_alive); + + //static const asio::socket_base::linger linger{true, 10}; + //sd.set_option(linger); + const auto client { make_client(std::move(s)) diff --git a/ircd/net.cc b/ircd/net.cc index e5c54d795..26d8e5c41 100644 --- a/ircd/net.cc +++ b/ircd/net.cc @@ -422,16 +422,6 @@ noexcept try sock.get(), string(sock->remote())); - //ip::tcp::socket &sd(*sock); - - //static const asio::socket_base::keep_alive keep_alive(true); - //sd.set_option(keep_alive); - - //static const asio::socket_base::linger linger{true, 10}; - //sd.set_option(linger); - - //sd.non_blocking(false); - static const socket::handshake_type handshake_type { socket::handshake_type::server