diff --git a/server_http.hpp b/server_http.hpp index 5d3ba4f..b4e5e68 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -406,7 +406,7 @@ namespace SimpleWeb { #if defined(__linux__) && defined(TCP_FASTOPEN) const int qlen = 5; // This seems to be the value that is used in other examples. boost::system::error_code ec; - acceptor->set_option(boost::asio::detail::socket_option::integer(qlen), ec); + acceptor->set_option(asio::detail::socket_option::integer(qlen), ec); #endif // End Linux } acceptor->bind(endpoint);