| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
The fallback CC algorithm is _always_ fixed-window, and we should only
use it when the selected CC algorithm is not supported.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now tor-circmgr no longer needs to check which Protover capabilities
are enabled, or construct a separate CircParameters for each hop.
Instead, tor-proto decides whether to use the fallback CC mode,
based on whether the target supports FLOWCTRL_CC.
Closes #1967.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We will construct this object based on the circuit parameters _and_
on the target's supported protocol versions, so we need to do so
when we have both pieces of info.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
One type will now represent _the kind of hop we are asking
tor-proto to negotiate_; the other will represent
_the state of such negotiation_.
This doesn't simplify the code much yet, but it will be helpful
as we add more and more negotiable settings.
Part of #1967
|
| |/ / / |
|
| |/ /
| |
| |
| |
| |
| |
| | |
Now that our MSRV has been updated to 1.83, we should be able to get
away with this.
Closes #1647. Reverts !2471.
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
tor-rtmock: Use subthread_spawn for spawn_blocking.
Closes #2033
See merge request tpo/core/arti!3036
|
| | | |
| | |
| | |
| | | |
Fixes: #2033
|
| |\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
proto: Let benchmarks build correctly on non-intel
Closes #2029
See merge request tpo/core/arti!3032
|
| | | | |
|
| | |/
| |
| |
| |
| |
| |
| | |
(criterion-cycles-per-byte, though quite helpful,
doesn't work on non-intel CPUs)
Closes #2029.
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
ci: Unpin nightly version
Closes #2018
See merge request tpo/core/arti!3035
|
| | | | |
|
| | | | |
|
| |\ \ \
| |_|/
|/| |
| | |
| | | |
tor-cell: Add XON/XOFF cells
See merge request tpo/core/arti!3031
|
| | | | |
|
| | | | |
|
| | |/ |
|
| |\ \
| | |
| | |
| | |
| | | |
tor-rtcompat: Remove rustls dependency in favor of futures-rustls
See merge request tpo/core/arti!2943
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
futures-rustls provides and re-exports rustls and thus the rustls
dependency is redundant.
Additionally, this removes `aws-lc-rs` and its inherent dependencies
from `Cargo.lock` and the entire project since they've been included
because the rustls dependency did not use `default-features = false`
and rustls by default now depends on `aws-lc-rs` as its crypto engine.
|
| |\ \ \
| |_|/
|/| |
| | |
| | | |
NetDir::pick_n_relays: avoid some unwarranted warnings
See merge request tpo/core/arti!3028
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously we logged a warning whenever `choose_multiple_weighted`
returns `Ok(iter)`, whenever `iter` contains fewer relays than
requested.
However, this is expected behavior of `choose_multiple_weighted` if the
filtered list of relays doesn't have the requested number of relays, in
which case it should return all of the relays in the filtered list.
In particular, this condition occurs regularly in test networks when
looking for candidate relays to add to the potential guard set while
excluding those already in the potential guard set.
We still warn if the returned list is fewer than requested, *and* fewer
than available in the filtered list.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Previously it did not behave correctly when `bucket.max()` was 0 (it
would sleep for 0 time instead of infinitely, triggering a debug
assertion).
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | | |
The token bucket is now refilled before changing the rate.
|
| | |/
|/| |
|
| |\ \
| |/
|/|
| |
| | |
expose socks proxy some more
See merge request tpo/core/arti!3016
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
The user now sets a constant amount of bytes to wait for.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
Unfortunately the git diff thinks I moved the struct, but I really only
moved the comment.
|
| | |
| |
| |
| |
| | |
`DataWriter` -> `DataWriterInner`
`DataWriterNew` -> `DataWriter`
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | | |
release: Bump versions to prepare for Arti 1.4.4.
See merge request tpo/core/arti!3024
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Done using:
cd crates/hashx/bench && cargo update
cd crates/equix/bench && cargo update
|
| | | |
| | |
| | |
| | |
| | |
| | | |
This was done using:
cargo set-version --bump patch -p arti
|