| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Missing doc for private member | Nick Mathewson | 2021-03-02 | 1 | -0/+3 | |
| | | ||||||
| * | CI target to build with async-std. Running tests is harder, alas | Nick Mathewson | 2021-03-02 | 1 | -0/+6 | |
| | | ||||||
| * | Update docs wrt tokio a bit | Nick Mathewson | 2021-03-02 | 3 | -8/+23 | |
| | | ||||||
| * | Make a few async_test tests work correctly again. | Nick Mathewson | 2021-03-02 | 2 | -155/+166 | |
| | | | | | | | 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 | 15 | -36/+177 | |
| | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | My rustfmt is up-to-date with the gitlab ci one again | Nick Mathewson | 2021-03-01 | 2 | -10/+20 | |
| | | ||||||
| * | Disable our cargo fmt test on CI for now. | Nick Mathewson | 2021-02-26 | 1 | -1/+5 | |
| | | ||||||
| * | Merge remote-tracking branch 'origin/mr/16' into main | Nick Mathewson | 2021-02-26 | 1 | -22/+37 | |
| |\ | ||||||
| | * | Refactor StreamMap methods to use HashMap::Entry | George Kadianakis | 2021-02-26 | 1 | -22/+37 | |
| | | | ||||||
| * | | Move .onion check into TorClient. | Nick Mathewson | 2021-02-25 | 2 | -7/+5 | |
| | | | ||||||
| * | | Clean-ups for documentations and lints in tor-client | Nick Mathewson | 2021-02-25 | 2 | -10/+24 | |
| | | | ||||||
| * | | Use a ConnectPref type for TorClient::connect, simplify APIs a bit, doc some. | Nick Mathewson | 2021-02-25 | 3 | -23/+90 | |
| | | | ||||||
| * | | Restore code in proxy.rs so that socks timeout errors work again | Nick Mathewson | 2021-02-25 | 2 | -15/+17 | |
| | | | | | | | | | | | This isn't pretty, since it now has to use anyhow::downcast_ref(). I've noted a TODO about maybe not using anyhow::Error for this case. | |||||
| * | | Start refactoring the tor-client crate. | Nick Mathewson | 2021-02-25 | 4 | -199/+252 | |
| | | | | | | | | | | | This commit splits the proxy and client code into a proper module, and keeps a stripped down version of the main.rs file. | |||||
| * | | run cargo fix --edition-idioms | Nick Mathewson | 2021-02-25 | 2 | -4/+4 | |
| | | | ||||||
| * | | Use futures::join!() to simplify test_create(). | Nick Mathewson | 2021-02-23 | 1 | -19/+11 | |
| | | | ||||||
| * | | Update to latest futures, once_cell | Nick Mathewson | 2021-02-23 | 9 | -9/+9 | |
| | | | ||||||
| * | | Fix an intermittent test failure on int overflow. | Nick Mathewson | 2021-02-19 | 1 | -1/+4 | |
| | | | ||||||
| * | | Update some dependencies. | Nick Mathewson | 2021-02-19 | 16 | -17/+17 | |
| |/ | ||||||
| * | Make first-level directory retry logic configurable. | Nick Mathewson | 2021-02-17 | 4 | -25/+73 | |
| | | ||||||
| * | Make our initial bootstrap retry schedule configurarable | Nick Mathewson | 2021-02-17 | 7 | -12/+112 | |
| | | ||||||
| * | tor-dirmgr: simplify config.rs a bit. | Nick Mathewson | 2021-02-16 | 1 | -52/+14 | |
| | | ||||||
| * | Add support to override network parameters in the configuration. | Nick Mathewson | 2021-02-16 | 9 | -9/+78 | |
| | | ||||||
| * | Add some tests for tor_config::CfgPath | Nick Mathewson | 2021-02-12 | 3 | -1/+47 | |
| | | ||||||
| * | Apply "deny_unknown_fields" to configuration types. | Nick Mathewson | 2021-02-12 | 4 | -0/+11 | |
| | | ||||||
| * | Remove fallback to .arti/cache for cache directory | Nick Mathewson | 2021-02-12 | 1 | -5/+1 | |
| | | ||||||
| * | Implement storage-directory configuration. | Nick Mathewson | 2021-02-12 | 5 | -3/+146 | |
| | | | | | | | | This affects the cache_dir and the as-yet-unused state_dir. It uses the shellexpand and directories crates so that the default values can be constant strings that use variables to refer to the right default locations. | |||||
| * | Add comments to default config files | Nick Mathewson | 2021-02-11 | 3 | -5/+14 | |
| | | ||||||
| * | Make authorities and fallbacks configurable. | Nick Mathewson | 2021-02-11 | 13 | -1092/+836 | |
| | | | | | | | | | | | This commit adds configuration options for these values, with the right defaults, and uses those options instead of built-in functions to set them. We also remove the function to extract information from chutney directories: now that arti is configurable, it can be chutney's job to make its own network configurations. | |||||
| * | Merge branch 'main' of gitlab.torproject.org:/tpo/core/arti | Nick Mathewson | 2021-02-10 | 7 | -6/+156 | |
| |\ | ||||||
| | * | upgrade a few dependencies | Nick Mathewson | 2021-02-10 | 4 | -7/+7 | |
| | | | ||||||
| | * | Add serde implementations for identity key types. | Nick Mathewson | 2021-02-10 | 4 | -0/+150 | |
| | | | ||||||
| * | | Add a test to make sure defaults are parseable. | Nick Mathewson | 2021-02-10 | 1 | -0/+19 | |
| |/ | ||||||
| * | Move defaults into a toml file. | Nick Mathewson | 2021-02-10 | 2 | -4/+15 | |
| | | ||||||
| * | Recommend running arti build with --release | Nick Mathewson | 2021-02-09 | 1 | -2/+2 | |
| | | ||||||
| * | Merge remote-tracking branch 'origin/mr/14' into main | Nick Mathewson | 2021-02-09 | 2 | -0/+23 | |
| |\ | ||||||
| | * | Add a rough CONTRIBUTING.md file with some dogfooding instructions. | George Kadianakis | 2021-02-08 | 2 | -0/+23 | |
| | | | ||||||
| * | | Merge commit '65da0f5da06ade6185dfacd41980ae3d3620458a' into main | Nick Mathewson | 2021-02-08 | 1 | -18/+12 | |
| |\ \ | ||||||
| | * | | Simplify error checking in begin_data_stream(). | George Kadianakis | 2021-02-08 | 1 | -18/+12 | |
| | | | | ||||||
| * | | | Merge remote-tracking branch 'origin/mr/13' into main | Nick Mathewson | 2021-02-08 | 4 | -12/+50 | |
| |\| | | ||||||
| | * | | Send back the right SOCKS reply in case of a timeout | George Kadianakis | 2021-02-06 | 1 | -1/+15 | |
| | | | | ||||||
| | * | | Implement timeout for new streams (set to 120 seconds). | George Kadianakis | 2021-02-05 | 3 | -11/+35 | |
| | |/ | ||||||
| * / | Remove the TODO file in favor of gitlab. | Nick Mathewson | 2021-02-05 | 2 | -160/+1 | |
| |/ | ||||||
| * | Whoops, we were using 9150 for now. | Nick Mathewson | 2021-02-02 | 1 | -1/+1 | |
| | | ||||||
| * | Initial support for configuration from file and/or command-line. | Nick Mathewson | 2021-02-02 | 4 | -14/+116 | |
| | | ||||||
| * | Rename client-demo to tor-client. | Nick Mathewson | 2021-02-02 | 5 | -6/+6 | |
| | | ||||||
| * | bump serde and log | Nick Mathewson | 2021-02-01 | 7 | -7/+7 | |
| | | ||||||
| * | Start a 'tor-config' crate | Nick Mathewson | 2021-02-01 | 4 | -0/+215 | |
| | | | | | | | This crate is mainly intended to wrap the config.rs code if necessary, and to give a way for interacting with it on the command line. | |||||
| * | Merge remote-tracking branch 'origin/mr/12' into main | Nick Mathewson | 2021-01-27 | 1 | -2/+9 | |
| |\ | ||||||
| | * | Add an error type check in test_get_decompressor_err in tor-dirclient | hiro | 2021-01-25 | 1 | -2/+9 | |
| | | | ||||||
