Skip to content

Commit

Permalink
websocket_listener should set SO_REUSEADDR like http_listener
Browse files Browse the repository at this point in the history
thanks to @RichardNutman, Richard Nutman, Grass Valley
  • Loading branch information
garethsb authored Mar 22, 2023
1 parent 17f1b8b commit 3fd76fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Development/cpprest/ws_listener_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ namespace web
if (!init)
{
server.init_asio();
server.set_reuse_addr(true);
init = true;
}
else
Expand Down

0 comments on commit 3fd76fc

Please sign in to comment.