aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-circmgr
Commit message (Collapse)AuthorAgeFilesLines
...
* Stop making abandoned/successful circuit counts persistentNick Mathewson2021-09-071-22/+1
| | | | | | | | | | | | | | The C Tor implementation doesn't do this, and Mike says: I think it is a reasonable enough assumption that if Tor has restarted, this kind data is no longer fresh enough to be accurate for this purpose. This is also only 20 circuits here, and typical timeouts are now around 1-2 seconds or less.. So a restarted client with a timeout that is too low for a new internet connection will figure this out pretty quickly. I think that is OK. (from torspec!40)
* A little more test coverage in tor-circmgr::mgrNick Mathewson2021-09-072-6/+36
|
* tor_circmgr::mgr -- refactor some duplicate code.Nick Mathewson2021-09-071-20/+32
|
* Rename pick_action to clarify that it can modify selfNick Mathewson2021-09-071-5/+5
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-2716-0/+5461
This will cause some pain for now, but now is really the best time to do this kind of thing.