You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RESTinio sets SO_REUSEADDR option in settings by default. But on Windows SO_REUSEADDR works differently than on Linux (and other Unixes AFAIK): on Windows SO_REUSEADDR allows to run two instances of RESTinio server on the same address. For more information see, for example, this and this.
So I think wa have to change the behaviour of create_default_unique_object_instance<acceptor_option_setter_t>:
RESTinio sets SO_REUSEADDR option in settings by default. But on Windows SO_REUSEADDR works differently than on Linux (and other Unixes AFAIK): on Windows SO_REUSEADDR allows to run two instances of RESTinio server on the same address. For more information see, for example, this and this.
So I think wa have to change the behaviour of
create_default_unique_object_instance<acceptor_option_setter_t>
:restinio/dev/restinio/settings.hpp
Lines 229 to 235 in 7994a15
The
reuse_address
should not be used on Windows.The text was updated successfully, but these errors were encountered: