Browse Source

explicitely disable address reuse

pull/1/head
Volker Birk 2 years ago
parent
commit
193f31addf
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      webserver.cc

+ 3
- 0
webserver.cc View File

@ -231,6 +231,9 @@ the_end:
void Webserver::runner(Webserver *me)
{
boost::asio::socket_base::reuse_address option(false);
me->_acceptor.set_option(option);
while (me->_running)
{
tcp::socket* socket = new tcp::socket{me->_ioc};


Loading…
Cancel
Save