| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These were generated with an updated version of the python reference
implementation.
|
| |/ / / /
| | | |
| | | |
| | | | |
See torspec#332.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Circuit handshake extensions: Implement proposal 358, and SubprotocolRequest from proposal 346.
Closes #1946
See merge request tpo/core/arti!2980
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We need the macro to propagate only certain #[meta] values
to all places where a case is used.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Part of #1945.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This type differs from `NamedSubver` in that the represented
subprotocol capability isn't necessarily recognized or valid.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It is not remotely close to exhausting a u8,
and several of our protocols expect it to be expressible as one.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Implements proposal 358.
Closes #1946.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Implements part of proposal 358.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This required some renaming, so that the types and their codes matched.
|