Fixed compiler error.
This commit is contained in:
parent
4328286e32
commit
4d7f3729c3
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,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;
|
||||
error_code ec{};
|
||||
acceptor->set_option(asio::detail::socket_option::integer<IPPROTO_TCP, TCP_FASTOPEN>(qlen), ec);
|
||||
#endif // End Linux
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue