| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Update retry-error README | Nick Mathewson | 2021-06-17 | 1 | -20/+8 | |
| | | ||||||
| * | Merge remote-tracking branch 'origin/mr/33' | Nick Mathewson | 2021-06-17 | 2 | -2/+2 | |
| |\ | ||||||
| | * | Fix typos | HackerNCoder | 2021-06-17 | 2 | -2/+2 | |
| | | | ||||||
| * | | Merge branch 'retry_refactor' | Nick Mathewson | 2021-06-17 | 9 | -226/+370 | |
| |\ \ | |/ |/| | ||||||
| | * | Use retry-error in tor-circmgr. | Nick Mathewson | 2021-06-17 | 3 | -19/+48 | |
| | | | ||||||
| | * | Add deduplication for retry-error | Nick Mathewson | 2021-06-17 | 1 | -7/+85 | |
| | | | ||||||
| | * | Remove anyhow dependency from tor-retry, and rename it to retry-error | Nick Mathewson | 2021-06-17 | 6 | -63/+100 | |
| | | | | | | | | | Now RetryError is parameterized on an underlying error type. | |||||
| * | | Try to fix a nightly rustdoc warning | Nick Mathewson | 2021-06-17 | 1 | -1/+1 | |
| | | | ||||||
| * | | Revise repository-level documentation | Nick Mathewson | 2021-06-17 | 5 | -268/+359 | |
| |/ | ||||||
| * | Remove some (but not all) needless dependencies. | Nick Mathewson | 2021-06-17 | 9 | -23/+5 | |
| | | ||||||
| * | Note a couple of more desired warnings. | Nick Mathewson | 2021-06-17 | 1 | -0/+2 | |
| | | ||||||
| * | Suppress a clippy warning. | Nick Mathewson | 2021-06-17 | 1 | -0/+1 | |
| | | ||||||
| * | Remove TODO as outdated. | Nick Mathewson | 2021-06-17 | 1 | -5/+0 | |
| | | ||||||
| * | CoC: Stop saying that Arti is not official. | Nick Mathewson | 2021-06-17 | 1 | -3/+0 | |
| | | ||||||
| * | Fix new(?) rustdoc warnings | Nick Mathewson | 2021-06-16 | 2 | -3/+3 | |
| | | ||||||
| * | more improvements to circmgr tests. | Nick Mathewson | 2021-06-16 | 3 | -2/+6 | |
| | | ||||||
| * | Notes about badexit flag and opportunities for error | Nick Mathewson | 2021-06-16 | 2 | -0/+5 | |
| | | ||||||
| * | More tests on circmgr::path. | Nick Mathewson | 2021-06-16 | 3 | -1/+89 | |
| | | ||||||
| * | circmgr: tests for path/dirpath.rs | Nick Mathewson | 2021-06-16 | 1 | -0/+68 | |
| | | ||||||
| * | Missing feature dependency. | Nick Mathewson | 2021-06-16 | 1 | -1/+1 | |
| | | ||||||
| * | Tests for circmgr::usage | Nick Mathewson | 2021-06-16 | 5 | -5/+125 | |
| | | ||||||
| * | Expose the "construct_network()" function in tor-netdir. | Nick Mathewson | 2021-06-16 | 3 | -77/+138 | |
| | | | | | | | | | This function has been used for testing tor-netdir, but it will also be useful for testing path selection in tor-cirmgr as well. I've put it behind a "testing" feature, since it shouldn't really be used by most applications. | |||||
| * | tor_circmgr: even more tests | Nick Mathewson | 2021-06-16 | 1 | -16/+95 | |
| | | ||||||
| * | More tests in tor-cirmgr::mgr | Nick Mathewson | 2021-06-16 | 2 | -4/+129 | |
| | | ||||||
| * | remove now-unused imports | Nick Mathewson | 2021-06-14 | 1 | -5/+0 | |
| | | ||||||
| * | Comment out build_path for now. | Nick Mathewson | 2021-06-14 | 1 | -0/+3 | |
| | | | | | | It just duplicates TorPath::build_circuit, which is all you actually need. | |||||
| * | Use FuturesUnordered, not SelectAll<Once<...>> | Nick Mathewson | 2021-06-14 | 2 | -12/+11 | |
| | | | | | Closes #124 | |||||
| * | Enormous tor-circmgr rewrite. | Nick Mathewson | 2021-06-14 | 11 | -435/+1662 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As with the tor-chanmgr code, the circuit manager is now implemented using an AbstractCircMgr type that uses traits to abstract the particular behavior of other types that it uses. (Specifically: circuits, building circuits, and telling whether one circuit usage is compatible with another.) Abstracting out the dependencies in this ways makes it possible to test the circuit manager without having to actually build real circuits. This commit also introduces new behavior for handling pending circuit requests. Upon getting a new request, first we check to see if there's an existing circuit we can use. If there isn't, we look for pending circuits and wait for them. If there aren't any pending circuits we can use, we launch one or more, and wait for them. So far, that's the same as the old behavior. But here's a change: if, while we are waiting for some pending circuits, a different circuit is completed, and it's one we could use, then the task that was building _that_ circuit will tell us: "please look at this circuit". This gives us better changes of getting a usable circuit fast. Minor changes: * The Error type in CircMgr no longer uses anyhow; several errors have been simplified. * We've gotten more formal about the relationship between circuit usage and target usage. | |||||
| * | Implement Debug for ClientCirc and Channel. | Nick Mathewson | 2021-06-14 | 2 | -0/+20 | |
| | | ||||||
| * | Make a few error types implement Clone | Nick Mathewson | 2021-06-14 | 3 | -7/+31 | |
| | | | | | | | | To make this work we have to wrap std::io::Error in an Arc. The benefit of having these errors implement Clone is that we can provide the same Error in response to multiple requests when they are all waiting on the same operation. | |||||
| * | linkspec: Define owned variants of ChanTarget and CircTarget. | Nick Mathewson | 2021-06-13 | 5 | -65/+139 | |
| | | ||||||
| * | add rustdoc link to readme | Nick Mathewson | 2021-06-09 | 1 | -0/+2 | |
| | | ||||||
| * | Remove accidentally committed graph files. | Nick Mathewson | 2021-06-08 | 3 | -270/+0 | |
| | | ||||||
| * | Add an XXXX to path.rs | Nick Mathewson | 2021-06-04 | 1 | -0/+1 | |
| | | ||||||
| * | Missing experimental-api imports. | Nick Mathewson | 2021-06-03 | 1 | -1/+3 | |
| | | ||||||
| * | cirmgr: Move usage-related code into a submodule, and refactor. | Nick Mathewson | 2021-06-02 | 3 | -137/+168 | |
| | | ||||||
| * | Add a warning comment about truncate-and-reextend. | Nick Mathewson | 2021-05-28 | 1 | -0/+5 | |
| | | ||||||
| * | tor-proto: change internal meta-handler API for error-proofing | Nick Mathewson | 2021-05-28 | 2 | -67/+108 | |
| | | | | | | | | The previous API required the caller to check that the meta-cell it got was coming from the right hop; the new API requires the caller to say which hop it expects to get a cell from. With this change, it's not possible to omit the correct-hop check. | |||||
| * | Add noop_method_call warning. | Nick Mathewson | 2021-05-27 | 25 | -0/+25 | |
| | | | | | | | This would have saved ahf and me a lot of confusion in debugging a situation where we were cloning a reference of a type that didn't implement Clone. | |||||
| * | Use the "typos" tool to fix some spelling | Nick Mathewson | 2021-05-26 | 26 | -30/+30 | |
| | | ||||||
| * | Use thiserror to simplify tor-units | Nick Mathewson | 2021-05-26 | 2 | -26/+7 | |
| | | ||||||
| * | Add a Display test in tor-units | Nick Mathewson | 2021-05-26 | 1 | -0/+6 | |
| | | ||||||
| * | Add a script with the command I've been using for coverage | Nick Mathewson | 2021-05-26 | 2 | -0/+4 | |
| | | ||||||
| * | Try some tweaks to .gitlab-ci.yml | Nick Mathewson | 2021-05-25 | 1 | -7/+8 | |
| | | | | | | | | | | | The "--all" flag is deprecated in favor of "--workspace", which isn't actually needed here. "--all-features" catches a few things that we want to make sure we're catching. Let's try out cargo doc and make sure that passes too. | |||||
| * | Update hs_ntor code. | Nick Mathewson | 2021-05-25 | 1 | -4/+6 | |
| | | | | | | Work with the latest version of the crypto crate, and suppress the unreachable_pub warning. | |||||
| * | Enable cargo_common_metadata warning. | Nick Mathewson | 2021-05-25 | 25 | -3/+27 | |
| | | ||||||
| * | Add automatically generated README.md files to each crate. | Nick Mathewson | 2021-05-25 | 24 | -0/+1145 | |
| | | ||||||
| * | Module docs for remaining crates | Nick Mathewson | 2021-05-25 | 5 | -13/+53 | |
| | | ||||||
| * | Replace the last user of caret_enum with caret_int. | Nick Mathewson | 2021-05-25 | 4 | -301/+74 | |
| | | | | | This lets us remove caret_enum entirely. | |||||
| * | Remove extern crate declarations. | Nick Mathewson | 2021-05-25 | 1 | -1/+0 | |
| | | | | | They're no longer needed for macro use in Rust 2018. | |||||
