aboutsummaryrefslogtreecommitdiff
path: root/tor-chanmgr
Commit message (Collapse)AuthorAgeFilesLines
...
* Move around the public modules in tor_rtcompat.Nick Mathewson2021-04-174-5/+5
|
* Remove all non-runtime methods in tor_rtcompat.Nick Mathewson2021-04-162-5/+14
|
* Add a "Runtime" parameter to all the manager types.Nick Mathewson2021-04-161-9/+22
| | | | | This is a big change, but it is a step towards our goal of removing tor_rtcompat:: calls directly.
* rtcompat: Make TLS functionality use Runtime traits.Nick Mathewson2021-04-164-23/+7
| | | | | Now there is nothing in principle that you couldn't access from a Runtime implementation.
* Rename Rsa{Identity,Signature} to fix clippy warning.Nick Mathewson2021-03-293-7/+7
|
* Move responsibility for knowing about TLS into tor_rtcompat.Nick Mathewson2021-03-235-50/+28
| | | | Now we don't need runtime-specific stuff in tor-chanmgr.
* Refactor tokio implpementation in tor-rtcompat.Nick Mathewson2021-03-232-33/+2
| | | | | | | | | | | Now other crates don't need any 'ifdef tokio' code, since there are wrappers that implement 'futures' right. Technically, the 'futures' traits are in some ways less good than the tokio ones, but we need a consistent API if we want to support WASM someday and keep support for async_std. I'd rather hold out hope for a future version of futures::io working like tokio than to fix ourselves into the tokioverse forever.
* Add the tor project as an author.Nick Mathewson2021-03-171-1/+1
|
* Add keywords to each Cargo.tomlNick Mathewson2021-03-171-0/+1
|
* Add a description field to all our Cargo.toml filesNick Mathewson2021-03-171-0/+1
|
* Give it a homepage everyplace.Nick Mathewson2021-03-171-0/+1
|
* Bump a couple of depsNick Mathewson2021-03-131-1/+1
|
* upgrade async-traitNick Mathewson2021-03-091-1/+1
|
* Bump dependencies with "cargo upgrade"Nick Mathewson2021-03-061-1/+1
|
* Missing doc for private memberNick Mathewson2021-03-021-0/+3
|
* Update docs wrt tokio a bitNick Mathewson2021-03-021-0/+3
|
* Make a few async_test tests work correctly again.Nick Mathewson2021-03-021-122/+131
| | | | | | For these, we need to call tor_rtcompat::task::block_on() directly, since they would crash with tokio enabled. Perhaps down the line we should look for a better fix here.
* Port to work with tokio or async-std.Nick Mathewson2021-03-023-19/+51
| | | | | | | | | | | | | | | | | | This is fairly ugly and I think I'll need to mess around with the feature configuration a while until we get something that's pleasant to develop with. This still seems like a good idea, though, since we _will_ need to be executor-agnostic in the end, or we'll have no way to handle wasm or embedded environments. Later down the road, we'll probably want to use futures::Executor or futures::Spawn more than having global entry points in tor_rtcompat. That would probably make our feature story simpler. Tokio is the default now, since tokio seems to be more heavily used for performance-critical stuff. This patch breaks tests; the next one will fix them, albeit questionably.
* Update to latest futures, once_cellNick Mathewson2021-02-231-1/+1
|
* Update some dependencies.Nick Mathewson2021-02-191-1/+1
|
* bump serde and logNick Mathewson2021-02-011-1/+1
|
* require latest futures crateNick Mathewson2021-01-151-1/+1
|
* Upgrade a few more dependencies.Nick Mathewson2021-01-131-1/+1
|
* Upgrade a few dependencies.Nick Mathewson2021-01-131-3/+3
|
* cargo upgrade.Nick Mathewson2020-12-301-3/+3
|
* upgrade to latest anyhowNick Mathewson2020-12-211-1/+1
|
* Use anyhow::Context in tor-chanmgr.Nick Mathewson2020-12-112-3/+9
|
* upgrade to require latest anyhow.Nick Mathewson2020-12-081-1/+1
|
* It is an internal error if we do a TLS connection and get no cert.Nick Mathewson2020-12-081-3/+4
|
* Make RSAIdentity implement Copy.Nick Mathewson2020-12-081-1/+1
|
* De-parameterize ChanMgr and everything that wraps it.Nick Mathewson2020-12-082-40/+113
| | | | | | | | | | | | | | This makes a whole lot of our code simpler, and makes it so that CircMgr and DirMgr no longer need to have anything parameterized over transports, either. Instead of boxing Transport inside of ChanMgr, I've made a new Connection trait that goes from a ChanTarget* straight to a Channel. This lets us avoid having to box the intermediate TLS object. [*] Actually, a copy of the information from a ChanTarget. Ick, but I had to make a copy to avoid parameterizing Connecter::build_channel.
* Mark some XXXX issues as XXXX-A1.Nick Mathewson2020-12-071-1/+1
|
* Run cargo fix --edition-idiomsNick Mathewson2020-12-021-4/+4
|
* Upgrade a couple of dependenciesNick Mathewson2020-11-281-1/+1
|
* Refactor first-hop handling types a bitNick Mathewson2020-11-174-9/+18
| | | | | | This lets us have the notion of "get the first hop of a path as some kind of a chantarget", which will make it easier to write other path types.
* Turn the channel "closed" method into an AtomicBoolNick Mathewson2020-11-132-3/+3
| | | | This lets us make the test for closed channels non-async.
* Move a few immutable fields from ChannelImpl outside the lock.Nick Mathewson2020-11-132-6/+5
| | | | | Since these don't change while the channel is alive, we don't need the lock to protect them.
* Make the Arc-ness of channels more explicit.Nick Mathewson2020-11-122-24/+21
| | | | | | Previously every channel was a secret Arc<>, which I think is bad style, and which stopped us from using weak references in other places.
* tor-chanmgr: timeout support.Nick Mathewson2020-11-112-7/+21
|
* Remove a couple of unused dependenciesNick Mathewson2020-11-111-2/+0
|
* Isolate async_std usage in a new tor_rtcompat crate.Nick Mathewson2020-11-114-29/+15
| | | | | Like tor_llcrypto, this crate is meant to expose only the part of other crates (in this case, a async runtime crate) that we use.
* Use anyhow in tor-circmgr and tor-chanmgrNick Mathewson2020-11-114-30/+12
|
* update some dependenciesNick Mathewson2020-11-111-3/+3
|
* Upgrade dependenciesNick Mathewson2020-11-101-1/+1
|
* upgrade a few packages.Nick Mathewson2020-11-051-1/+1
|
* chanmgr: Make sure chanmgr can be shared among threadsNick Mathewson2020-11-041-14/+18
|
* Document tor-circmgrNick Mathewson2020-11-021-0/+1
|
* Add missing testing.rs fileNick Mathewson2020-10-301-0/+102
|
* Tests for tor-chanmgr.Nick Mathewson2020-10-302-7/+245
|
* chanmgr: don't return closing channels.Nick Mathewson2020-10-301-1/+11
|