diff --git a/src/sockets/plain.hpp b/src/sockets/plain.hpp index 4a008c8b90..ecd38c60fb 100644 --- a/src/sockets/plain.hpp +++ b/src/sockets/plain.hpp @@ -76,9 +76,10 @@ public: } void async_init(socket_init_callback callback) { - // TODO: should this use post()? + // TODO: make configuration option for NO_DELAY m_socket.set_option(boost::asio::ip::tcp::no_delay(true)); + // TODO: should this use post()? callback(boost::system::error_code()); }