summaryrefslogtreecommitdiff
path: root/crates/tor-chanmgr/src/mgr.rs
Commit message (Collapse)AuthorAgeFilesLines
* ChanMgr: Return provenance information from get_or_launchNick Mathewson2022-04-071-11/+14
| | | | | | We need this since we want to report certain conditions only when they happen on a new channel, not if we observe them on a preexisting channel.
* tor-chanmgr: Do not allocate an Internal error unless we mean it.Nick Mathewson2022-03-081-5/+5
| | | | | | | | | | | | Previously we'd allocate an error as a place-holder here, but it's not a great idea to do that with a `Bug`: each `Bug` stores a whole stack trace, which uses a whole pile of allocations to construct. Now we keep an `Option<Error>` instead. Found while heap profiling. Closes #383.
* tor-chanmgr: use Bug types.Nick Mathewson2022-02-161-4/+9
|
* Expire channels that have been unused for too longYuan Lyu2022-02-041-5/+34
|
* chanmgr: get rid of Arc around ChannelIan Jackson2022-01-131-26/+33
|
* Resolve roughly half of the XXXXs.Nick Mathewson2021-12-061-3/+2
| | | | | | | | We want to only use TODO in the codebase for non-blockers, and open tickets for anything that is a bigger blocker than a TODO. These XXXXs seem like definite non-blockers to me. Part of arti#231.
* add semicolons if nothing returnedDaniel Eades2021-11-251-1/+1
|
* Remove all remaining dbg! instances.Nick Mathewson2021-11-041-1/+0
|
* tor-chanmgr: remove PendingChanError as unnecessary.Nick Mathewson2021-10-281-18/+6
|
* Remove #![allow_unused] in tor_chanmgr::mgrNick Mathewson2021-10-211-1/+1
|
* fix/silence clippy lints in test modulesDaniel Eades2021-09-081-0/+1
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+404
This will cause some pain for now, but now is really the best time to do this kind of thing.