| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |
|
| | |
| |
| |
| | |
We will make a separate library for this.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This example previously remained stuck in the while loop without any output, seeming as if this example is not working.
This because the method `is_fully_reachable` is no guarantee for the actual status of the onion service. It might return false while the service is actually reachable.
We added a timeout to not remain stuck in the loop.
|
| | |
| |
| |
| | |
This directory had to be renamed because otherwise it would cause conflicts with the actual hyper crate in the CI pipeline.
|
| | |
| |
| |
| | |
This example previously had errors trying to make a connection, this is solved now.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
This example directory had a separate directory for each example. We can
simplify this by using binaries.
|
| | |
| |
| |
| | |
This example made a request to a website which could deanonymize the user. We now use check.torproject.org instead.
|
| |/
|
|
|
| |
This example demonstrates how to create a custom connector which can be injected
into a hyper client, to use hyper for Tor requests.
|
| |
|
|
| |
Made with https://crates.io/crates/typos-cli
|
| | |
|
| |
|
|
| |
Nightly clippy now suggests this.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The [latest version] of `cargo-sort` is more opinionated than the
previous one, and is now causing the `rust-checks` job to fail on
`main`.
This commit applies the fixes needed to satisfy the new `cargo-sort`
rules. These changes were generated by running `cargo sort --workspace`
several times, until `cargo sort --check --workspace` finally succeeded
(it couldn't fix all the errors in one go, for some reason).
I have omitted the changes `cargo-sort` made to the top-level
`Cargo.toml`, to preserve the topological ordering of the workspace
members.
Closes #2014
[latest version]: https://github.com/DevinR528/cargo-sort/blob/f066ae80e5e6f5c1d8f0e2b8099461dcb97d9656/changelog.md#200
|
| |\
| |
| |
| |
| |
| |
| | |
arti-ureq: Remove obsolete early return in await_input
Closes #1952
See merge request tpo/core/arti!2997
|
| | | |
|
| |/
|
|
|
|
|
|
| |
This is messy, because `ClientCirc::{path_ref, n_hops, ..}` become
fallible (we can't unwrap the result, because when a circuit is closed,
its state gets removed from the `TunnelSharedState`, but its
`ClientCirc` handle continues to exist, so any attempt to retrieve the
state will result in an `Err`).
|
| |
|
|
| |
Fixes #1519
|
| | |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
tor-hsservice: Add is_fully_reachable() method
Closes #1890
See merge request tpo/core/arti!2850
|
| | | |
|
| |/ |
|
| |
|
|
|
| |
Reducing `ClientCirc` proliferation will make our lives easier when
implementing !2790.
|
| |
|
|
| |
We use this in an example only.
|
| | |
|
| |
|
|
|
|
|
|
| |
This method is experimental, so no semver note is needed.
It is redundant with `client_stream_ctrl()?.circuit()?`.
(The name and the unconditional return type of this method
are probably an error.)
|
| | |
|
| | |
|
| |
|
|
|
| |
This gets it as far as the outbound circuit->channel mpsc queue creation.
Also, we provide an accessor for it.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
This breaks config tests in crates/arti which test configuration
parsing of disabled experimental features.
|
| |
|
|
|
| |
This breaks config tests in crates/arti which test configuration
parsing of disabled experimental features.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, Channel was a type that you could Clone that implicitly
its state. Now, Channel always appears as an Arc<Channel>.
This change has several benefits:
* It makes the relationship between Channel struct and the
underlying channel more clear.
* It enables Channel to participate in the RPC system,
where everything has to be an Arc<.>
* It enables us to have a Weak<Channel>, if we ever want to.
* It will let us move various members out of ChannelDetails.
We did this change a while ago with ClientCirc.
|
| |
|
|
| |
Edited-by: Nick Mathewson <[email protected]>
|
| | |
|
| |
|
|
| |
We're going to start using this type for _every_ kind of transport.
|
| |
|
|
|
|
|
|
|
|
| |
Without this we might end up with a mixture of new file and previous
wreckage.
If this were released code I would think about treating this as a
security issue.
Prompted by clippy.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
It seems download-manager example has fallen out of sinc with files
under https://dist.torproject.org/torbrowser/. This updates the
example to match online files so download can succeed.
|
| | |
|