summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Bump tokio-related dependenciesNick Mathewson2021-06-241-2/+2
| |
* | Remove unused import.Nick Mathewson2021-06-211-1/+0
| |
* | More tests and a little code-golf for coverage on tor-circmgrNick Mathewson2021-06-204-14/+47
| |
* | tor_circmgr: simplify build_circuit a bit.Nick Mathewson2021-06-202-15/+10
|/
* A few tests for circparameters generation.Nick Mathewson2021-06-192-7/+50
|
* More/better tests on tor_circmgr::mgrNick Mathewson2021-06-191-46/+132
|
* A little testing and refactgoring in tor-circmgr.Nick Mathewson2021-06-193-25/+23
|
* Misc tests in tor-proto.Nick Mathewson2021-06-195-12/+67
|
* Remove most (all?) panics from tor-chanmgr::mgr::mapNick Mathewson2021-06-191-10/+22
| | | | | Improve testing for cases where change_state() is given a bad function.
* Add another entry to WANT_FROM_OTHER_CRATESNick Mathewson2021-06-191-0/+1
|
* Cut down WANT_FROM_OTHER_CRATESNick Mathewson2021-06-181-16/+8
|
* Fix some warnings about needless & from nightly clippyNick Mathewson2021-06-1818-29/+29
|
* Upgrade phf.Nick Mathewson2021-06-171-1/+1
|
* Run "typos" to fix a few more typos.Nick Mathewson2021-06-174-6/+6
|
* Update retry-error READMENick Mathewson2021-06-171-20/+8
|
* Merge remote-tracking branch 'origin/mr/33'Nick Mathewson2021-06-172-2/+2
|\
| * Fix typosHackerNCoder2021-06-172-2/+2
| |
* | Merge branch 'retry_refactor'Nick Mathewson2021-06-179-226/+370
|\ \ | |/ |/|
| * Use retry-error in tor-circmgr.Nick Mathewson2021-06-173-19/+48
| |
| * Add deduplication for retry-errorNick Mathewson2021-06-171-7/+85
| |
| * Remove anyhow dependency from tor-retry, and rename it to retry-errorNick Mathewson2021-06-176-63/+100
| | | | | | | | Now RetryError is parameterized on an underlying error type.
* | Try to fix a nightly rustdoc warningNick Mathewson2021-06-171-1/+1
| |
* | Revise repository-level documentationNick Mathewson2021-06-175-268/+359
|/
* Remove some (but not all) needless dependencies.Nick Mathewson2021-06-179-23/+5
|
* Note a couple of more desired warnings.Nick Mathewson2021-06-171-0/+2
|
* Suppress a clippy warning.Nick Mathewson2021-06-171-0/+1
|
* Remove TODO as outdated.Nick Mathewson2021-06-171-5/+0
|
* CoC: Stop saying that Arti is not official.Nick Mathewson2021-06-171-3/+0
|
* Fix new(?) rustdoc warningsNick Mathewson2021-06-162-3/+3
|
* more improvements to circmgr tests.Nick Mathewson2021-06-163-2/+6
|
* Notes about badexit flag and opportunities for errorNick Mathewson2021-06-162-0/+5
|
* More tests on circmgr::path.Nick Mathewson2021-06-163-1/+89
|
* circmgr: tests for path/dirpath.rsNick Mathewson2021-06-161-0/+68
|
* Missing feature dependency.Nick Mathewson2021-06-161-1/+1
|
* Tests for circmgr::usageNick Mathewson2021-06-165-5/+125
|
* Expose the "construct_network()" function in tor-netdir.Nick Mathewson2021-06-163-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 testsNick Mathewson2021-06-161-16/+95
|
* More tests in tor-cirmgr::mgrNick Mathewson2021-06-162-4/+129
|
* remove now-unused importsNick Mathewson2021-06-141-5/+0
|
* Comment out build_path for now.Nick Mathewson2021-06-141-0/+3
| | | | | It just duplicates TorPath::build_circuit, which is all you actually need.
* Use FuturesUnordered, not SelectAll<Once<...>>Nick Mathewson2021-06-142-12/+11
| | | | Closes #124
* Enormous tor-circmgr rewrite.Nick Mathewson2021-06-1411-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 Mathewson2021-06-142-0/+20
|
* Make a few error types implement CloneNick Mathewson2021-06-143-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 Mathewson2021-06-135-65/+139
|
* add rustdoc link to readmeNick Mathewson2021-06-091-0/+2
|
* Remove accidentally committed graph files.Nick Mathewson2021-06-083-270/+0
|
* Add an XXXX to path.rsNick Mathewson2021-06-041-0/+1
|
* Missing experimental-api imports.Nick Mathewson2021-06-031-1/+3
|
* cirmgr: Move usage-related code into a submodule, and refactor.Nick Mathewson2021-06-023-137/+168
|