diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-02-02 15:43:34 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-02-02 21:20:24 +0100 |
| commit | 988f2ace4aa0a5afdb5cf3933a145896de969d0c (patch) | |
| tree | bce02e2c9994021b8dc54c0102ac7da2ae2ad7b4 | |
| parent | 2e0c1b6dcb10ddff131170b0b8fd7a94026a0599 (diff) | |
Potentially fix stopping of sockets.
| -rw-r--r-- | src/lib/server.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/server.cc b/src/lib/server.cc index cbc6cd9bc..4f39b8137 100644 --- a/src/lib/server.cc +++ b/src/lib/server.cc @@ -75,8 +75,9 @@ Server::handle_accept (shared_ptr<Socket> socket, boost::system::error_code cons } _socket = socket; - handle (socket); + _socket.reset(); + start_accept (); } |
