| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Make a few async_test tests work correctly again. | Nick Mathewson | 2021-03-02 | 1 | -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 Mathewson | 2021-03-02 | 3 | -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_cell | Nick Mathewson | 2021-02-23 | 1 | -1/+1 | |
| | | ||||||
| * | Update some dependencies. | Nick Mathewson | 2021-02-19 | 1 | -1/+1 | |
| | | ||||||
| * | bump serde and log | Nick Mathewson | 2021-02-01 | 1 | -1/+1 | |
| | | ||||||
| * | require latest futures crate | Nick Mathewson | 2021-01-15 | 1 | -1/+1 | |
| | | ||||||
| * | Upgrade a few more dependencies. | Nick Mathewson | 2021-01-13 | 1 | -1/+1 | |
| | | ||||||
| * | Upgrade a few dependencies. | Nick Mathewson | 2021-01-13 | 1 | -3/+3 | |
| | | ||||||
| * | cargo upgrade. | Nick Mathewson | 2020-12-30 | 1 | -3/+3 | |
| | | ||||||
| * | upgrade to latest anyhow | Nick Mathewson | 2020-12-21 | 1 | -1/+1 | |
| | | ||||||
| * | Use anyhow::Context in tor-chanmgr. | Nick Mathewson | 2020-12-11 | 2 | -3/+9 | |
| | | ||||||
| * | upgrade to require latest anyhow. | Nick Mathewson | 2020-12-08 | 1 | -1/+1 | |
| | | ||||||
| * | It is an internal error if we do a TLS connection and get no cert. | Nick Mathewson | 2020-12-08 | 1 | -3/+4 | |
| | | ||||||
| * | Make RSAIdentity implement Copy. | Nick Mathewson | 2020-12-08 | 1 | -1/+1 | |
| | | ||||||
| * | De-parameterize ChanMgr and everything that wraps it. | Nick Mathewson | 2020-12-08 | 2 | -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 Mathewson | 2020-12-07 | 1 | -1/+1 | |
| | | ||||||
| * | Run cargo fix --edition-idioms | Nick Mathewson | 2020-12-02 | 1 | -4/+4 | |
| | | ||||||
| * | Upgrade a couple of dependencies | Nick Mathewson | 2020-11-28 | 1 | -1/+1 | |
| | | ||||||
| * | Refactor first-hop handling types a bit | Nick Mathewson | 2020-11-17 | 4 | -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 AtomicBool | Nick Mathewson | 2020-11-13 | 2 | -3/+3 | |
| | | | | | This lets us make the test for closed channels non-async. | |||||
| * | Move a few immutable fields from ChannelImpl outside the lock. | Nick Mathewson | 2020-11-13 | 2 | -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 Mathewson | 2020-11-12 | 2 | -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 Mathewson | 2020-11-11 | 2 | -7/+21 | |
| | | ||||||
| * | Remove a couple of unused dependencies | Nick Mathewson | 2020-11-11 | 1 | -2/+0 | |
| | | ||||||
| * | Isolate async_std usage in a new tor_rtcompat crate. | Nick Mathewson | 2020-11-11 | 4 | -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-chanmgr | Nick Mathewson | 2020-11-11 | 4 | -30/+12 | |
| | | ||||||
| * | update some dependencies | Nick Mathewson | 2020-11-11 | 1 | -3/+3 | |
| | | ||||||
| * | Upgrade dependencies | Nick Mathewson | 2020-11-10 | 1 | -1/+1 | |
| | | ||||||
| * | upgrade a few packages. | Nick Mathewson | 2020-11-05 | 1 | -1/+1 | |
| | | ||||||
| * | chanmgr: Make sure chanmgr can be shared among threads | Nick Mathewson | 2020-11-04 | 1 | -14/+18 | |
| | | ||||||
| * | Document tor-circmgr | Nick Mathewson | 2020-11-02 | 1 | -0/+1 | |
| | | ||||||
| * | Add missing testing.rs file | Nick Mathewson | 2020-10-30 | 1 | -0/+102 | |
| | | ||||||
| * | Tests for tor-chanmgr. | Nick Mathewson | 2020-10-30 | 2 | -7/+245 | |
| | | ||||||
| * | chanmgr: don't return closing channels. | Nick Mathewson | 2020-10-30 | 1 | -1/+11 | |
| | | ||||||
| * | Implement a channel-manager type to get or launch channels on request. | Nick Mathewson | 2020-10-30 | 5 | -0/+352 | |
