summaryrefslogtreecommitdiff
path: root/crates/tor-circmgr/src
Commit message (Expand)AuthorAgeFilesLines
* tor-circmgr: impl AsRef<dyn std::error::Error> for some error typesIan Jackson2023-07-181-0/+3
* Merge branch 'clippy-allow' into 'main'Ian Jackson2023-07-1112-0/+13
|\
| * Run maint/add_warning to actually apply new lint allowsIan Jackson2023-07-1012-0/+13
* | rng ranges: Use gen_range_infallible() for Duration::ZERO..=TIan Jackson2023-07-101-1/+1
* | rng ranges: Use gen_range_checked().unwrap() in test caseIan Jackson2023-07-101-2/+2
* | rng ranges: Use gen_range_checked().expect() in obvious cases (fmt)Ian Jackson2023-07-101-1/+2
* | rng ranges: Use gen_range_checked().expect() in obvious casesIan Jackson2023-07-102-3/+6
|/
* Merge branch 'inclusive' into 'main'Nick Mathewson2023-07-071-1/+1
|\
| * rng ranges: Use inclusive Duration ranges in several placesIan Jackson2023-07-071-1/+1
* | Merge branch 'report-bugs-v2' into 'main'Nick Mathewson2023-07-075-42/+29
|\ \ | |/ |/|
| * circmgr: Use event_report!() and similar macrosNick Mathewson2023-07-075-42/+29
* | Merge branch 'allow_missing_panics' into 'main'Ian Jackson2023-07-071-1/+0
|\ \
| * | Run add_warning to remove `missing_panics_doc` deny.Nick Mathewson2023-07-061-1/+0
| |/
* / Avoid matches!(x, None), matches!(x, Ok(_))Nick Mathewson2023-07-061-1/+1
|/
* tor-circmgr: Provide estimate_timeout as a method on HsCircPoolIan Jackson2023-06-291-1/+21
* Merge branch 'circparams' into 'main'Ian Jackson2023-06-292-15/+18
|\
| * tor-circmgr: Expose CircParameters from NetParameters constructionIan Jackson2023-06-292-15/+18
* | circmgr: Refactor duplicate logic.Nick Mathewson2023-06-281-27/+21
* | circmgr: Remove a "TODO HS" about path restrictions.Nick Mathewson2023-06-281-3/+0
* | circmgr: Defer two "TODO HS" in hspoolNick Mathewson2023-06-281-2/+2
|/
* HS configuration: Add retry parameters to configurationIan Jackson2023-06-281-0/+36
* random_idx_where: Ensure uniform distribution of choiceJim Newsome2023-06-231-22/+32
* Add more tests for random_idx_whereJim Newsome2023-06-231-0/+10
* Merge branch 'idx' into 'main'Ian Jackson2023-06-231-0/+10
|\
| * tor-circmgr: Test random_idx_where with empty sliceIan Jackson2023-06-231-0/+7
| * tor-circmgr: random_idx_where: Don't panic on empty rangeIan Jackson2023-06-231-0/+3
* | Merge branch 'circmgr-timeout-est' into 'main'Nick Mathewson2023-06-223-7/+34
|\ \
| * | circmgr: Now that Action is public, clean it up a little.Nick Mathewson2023-06-221-3/+2
| * | circmgr: New API to expose estimate-based timeouts.Nick Mathewson2023-06-223-4/+32
* | | hspool: Use let-else pattern; our MSRV permits it.Nick Mathewson2023-06-221-6/+2
* | | circmgr: Use path_ref() instead of path().Nick Mathewson2023-06-221-24/+45
| |/ |/|
* | lints: Run maint/add_warning to actually apply new lintsIan Jackson2023-06-211-0/+2
|/
* Typo fixesgabi-2502023-06-201-2/+2
* circmgr: Use a slightly nicer way to pick a circuit from our pool.Nick Mathewson2023-06-161-13/+58
* circmgr: Make hspool size dynamicNick Mathewson2023-06-162-28/+108
* circmgr::hspool: Move the Mutex into an intermediary Inner structNick Mathewson2023-06-162-35/+53
* circmgr: Remove TODOS about retrying.Nick Mathewson2023-06-161-5/+0
* cirmgr: remove a dead-code exception.Nick Mathewson2023-06-161-1/+0
* Merge branch 'info-to-warn' into 'main'gabi-2502023-05-171-5/+8
|\
| * Change log level to debug and warn for certain appropriate situationsSaksham Mittal2023-05-171-5/+8
* | Refactor ClientCirc APIs to use Arc<ClientCirc>.Nick Mathewson2023-05-166-39/+39
|/
* hspool: Accept any T:CircTarget.Nick Mathewson2023-05-101-9/+26
* ExitPath: Add an explanation of WeightRole::Exit on non-exit circsNick Mathewson2023-04-121-0/+7
* circmgr: Mark a number of internal APIs as hs-only.Nick Mathewson2023-04-063-0/+8
* circmgr: Expand an incomplete comment in exitpath.rsNick Mathewson2023-04-061-2/+6
* tor-circmgr: HsCircKind: derive EqIan Jackson2023-04-051-1/+1
* tor-circmgr: Make take_or_launch_stub_circuit future SendIan Jackson2023-03-301-2/+1
* Add some missing importsIan Jackson2023-03-282-2/+5
* hspool: simplify loop and add a maximumNick Mathewson2023-03-221-41/+39
* hspool: Clarify/document more TODO HS items.Nick Mathewson2023-03-221-2/+8