summaryrefslogtreecommitdiff
path: root/src/lib/encode_server_finder.h
AgeCommit message (Collapse)Author
2025-03-22Add abstraction of io_{context,service} and use it as appropriate.Carl Hetherington
2024-01-28Make stop() private and use drop() instead.Carl Hetherington
This avoids confusing situations where we call stop(), then try to restart the finder (unsuccessfully, because once it's stop()ped it will stay around, never to be restarted).
2022-02-25Avoid boost::bind()ing a shared_ptr.Carl Hetherington
2022-02-25Fix some dubious thread/locking behaviour.Carl Hetherington
Previously we had server_found(), which took the lock and found a server, which it returned as an iterator into the list. However, it then released the lock, which I think left the iterator unprotected. This wasn't done in response to any particular bug, I just noticed it on the way past.
2021-05-03C++11 tidying.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-01-30Various thread cleanups.Carl Hetherington
2018-04-13Tidy up to use one list of servers.Carl Hetherington
2018-04-13Update encoding server list when servers disappear (#1176).Carl Hetherington
2018-04-13Note and indicate servers with bad link version (#982).Carl Hetherington
2018-02-04Listen for server replies on different ports on main and batch, and get ↵Carl Hetherington
servers to send replies to both (#1190).
2017-07-27Add comment.Carl Hetherington
2016-07-20Do EncodeServerFinder 'disable' in a more sensible way.Carl Hetherington
Just stop the threads and clear the server list when stop() is called.
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2015-12-11Rename Server -> EncodeServer, ServerFinder -> EncodeServerFinder, ↵Carl Hetherington
ServerDescription -> EncodeServerDescription.