| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Option::replace has been around since 1.31,
but the clippy warning is new.
|
| | | | | |
|
| | | | | |
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
tor-proto: Adapt MutableState to work with multipath circuits
See merge request tpo/core/arti!2996
|
| | | | |
| | | |
| | | |
| | | | |
Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2996#note_3199590
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The `ClientCirc` accessors will only return an error if the underlying
circuit is closed, so it doesn't make sense to map these errors to
`Bug`.
Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2996#note_3199072
and
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2996#note_3199073
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
These `TunnelMutableState` impls just delegate to `MutableState`, so we
might as well link to the corresponding docs.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Hiding the underlying type makes the code less readable.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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`).
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We now have a new `TunnelSharedState` type for storing the shared state
of a tunnel. It consists of the `MutableState`s of all the circuits in
the tunnel, which are shared between it and `Circuit` (the circuit
subcomponent of the reactor). The `TunnelSharedState` itself is shared
between `ConfluxSet` (which manages the `Circuits`), and `ClientCirc`
(the reactor handle used to access information about circuits, such as
their `Path`).
|
| | | | |
| | | |
| | | |
| | | | |
This will simplify some callsites.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Not locking the `MutableState` mutex outside of this impl makes it
easier to see it's currently impossible deadlock.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This renaming is in preparation for the addition of a newtype wrapper
for what used to be `Mutex<MutableState>`. That newtype wrapper will be
called `MutableState`.
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
tor-proto: Remove deprecated ClientCirc functions.
See merge request tpo/core/arti!2995
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These functions have been deprecated for a while, and are now
complicating the `MutableState` changes we need to do for #1840, so it
seems like a good time to remove them.
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
tor-linkspec,tor-basic-utils: Remove deprecated `empty_iterator()` method
See merge request tpo/core/arti!3001
|
| | | | | |
|
| |/ / /
| | |
| | |
| | |
| | |
| | | |
This method has always been deprecated, so it's not a big deal to
remove. It can be replaced with the corresponding iterators's `Default`
implementation.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
tor-proto: change bench measurement
See merge request tpo/core/arti!2998
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |/ / |
|
| |\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
Update MSRV to 1.83; bump gitlab-ci recent-image to 1.86.
Closes #1869
See merge request tpo/core/arti!2999
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
Now that our MSRV is 1.83, clippy is happy to make more
recommendations for us.
|
| | | | |
|
| | | | |
|
| |\ \ \
| |/ /
|/| |
| | |
| | | |
arti: test: Refactor arti integration test
See merge request tpo/core/arti!2955
|
| |/ /
| |
| |
| |
| |
| |
| | |
* arti: test: Restructure tests directory
* arti: dep: Add assert_cmd dev-dependency
* arti: test: Update README
* doc: Fix hsc documentation
|
| |\ \
| | |
| | |
| | |
| | | |
tor-proto: extend benchmarks for CGO
See merge request tpo/core/arti!2993
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
Update reproducible builds to use Rust 1.86
Closes #1335
See merge request tpo/core/arti!2992
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
Since it's using 1.86 now, there's no reason to downgrade these
packages.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
After upgrading to rust:1.86.0-alpine3.21, we got a new error:
```
osxcross: error: cannot find libc++ headers
```
To fix this, we change the linker to
`x86_64-apple-darwin16-clang++-stdc++`.
This invokes some osxcross magic that tells it to find the C++
headers in the stdc++ location... and possibly more.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is sufficient to stop the osxcross errors
``` error: no member named 'lseek64' in the global namespace ```
that we encountered on our earlier attempt to increase our MSRV.
Closes #1335.
|
| |\ \ \
| |/ /
|/| |
| | |
| | | |
proto: Clear low 6 bits of counter in CGO PRF.
See merge request tpo/core/arti!2988
|
| | | | |
|