Skip to content

Commit

Permalink
Merge pull request #321 from garethsb/patch-4
Browse files Browse the repository at this point in the history
websocket_listener should set SO_REUSEADDR like http_listener
  • Loading branch information
lo-simon authored Mar 22, 2023
2 parents 17f1b8b + 3fd76fc commit a0ff5f3
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 a0ff5f3

Please sign in to comment.