meltwater/served

crash/kill/restart will complain "bind: Address already in use"

igenyar opened this issue · 3 comments

After killing, I restart the server and get the following error.

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  bind: Address already in use
Aborted (core dumped)
make: *** [run] Error 134

Looks like socket opt is not set correctly to allow reuse.

commit ce334144fd5cf123940d8a96f1801355ef20fe09
Date:   Wed Sep 2 14:09:08 2015 +0100

Hey @igenyar, sorry for the late response. I'll take a look soon.

👍