| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |/ / /
| |/| | |
| | | | |
| | | | | |
New tests should usually use tor_rtmock::MockRuntime.
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
tor-proto::circuit: remove some obsolete "limitations" comments
See merge request tpo/core/arti!2366
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
There is now (sendme-style) flow control, and some fairness
(via round robin scheduling of streams).
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
There is a mutex for some of the "mutable state", but the reactor only
needs to lock it when adding a hop. It's not needed "to process a cell"
or when streams send. Probably not worth calling out here.
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
rpclib, ffi: Allow simultaneous calls to `arti_rpc_handle_wait()`
Closes #1532
See merge request tpo/core/arti!2360
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Its underlying function previously took `&mut RpcHandle`,
which was an accident waiting to happen. Now it takes `&RpcHandle`
and includes a Mutex to prevent multiple threads from waiting for
updates on the same request ID at once.
As an alternative, we *could* try to update connimpl::Receiver to
allow multiple simultaneous listeners on the same request ID.
But that would (I think) require a lot more bookkeeping, and thus
would be a bit more error-prone.
Closes #1532.
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | |
| | | | | |
| | | | | | |
Preliminaries for moving stream-peek into tor-async-utils
See merge request tpo/core/arti!2362
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| |/ / / / / |
|
| |\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | |
| | | | | |
Move Qty to tor-basic-utils as ByteQty and significantly improve it
See merge request tpo/core/arti!2363
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This finally makes this type suitable for parsing in config files.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Display can now choose appropriate units.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
The serde ones are going to need to be conditional.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Code motion of byte_qty.rs, and minimal necessary supporting changes.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We're going to make this into a proper public type.
It's going to move into a different crate, where there's no prelude,
so give it a bespoke set of imports too.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Code motion, part 1.
Also explain in comments at the top of the new module why we are doing
this at all rather than using an existing thing.
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
This makes more sense than having them alphabetical.
Noticed while I was working on moving other code.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Run tests of every crate, with all features disabled
See merge request tpo/core/arti!2350
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We can't do this for every crate.
I looked at what is now matrix-check to see if I wanted to use any of
the code. But it seems too entangled with its particular purpose, and
has a lot of embedded knowledge of our crates' features. I found it
sufficiently far from what I wanted that I decided on a fresh script.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
There's a TODO asking for `check` to be changed to `test`. And we're
about to invent a thing that does, sort of, the `test`.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes compilation with
cargo test --no-default-features -p arti --features=tokio,rustls
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Otherwise it doesn't compile when actually used.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Placates clippy.
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fix CI on main by always running the deb-source job
See merge request tpo/core/arti!2367
|
| |/ / / / /
| | | | |
| | | | |
| | | | | |
The rules: was removed from these jobs but this one was missed.
|
| |\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | |
| | | | | |
Build a deb package for Arti (download dependencies while building)
See merge request tpo/core/arti!2323
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| |/ / / / |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-proto circuit: add unit test for fairness
See merge request tpo/core/arti!2365
|
| |/ / / / |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
arti: Temporarily disable a flaky test.
See merge request tpo/core/arti!2364
|
| |/ / / /
| | | |
| | | |
| | | | |
Disabling until #1549 is fixed to unblock CI.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
tor-hsservice: Add watcher for restricted_discovery config changes
Closes #1505
See merge request tpo/core/arti!2353
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The watch channel should help prevent flakiness in the tests
(`TestModule` uses `maybe_send` to only send the received config if it's
different from the previously received value. This is supposed to
prevent the tests from failing when duplicate update events are
received).
|
| | | | | | |
|
| | | | | | |
|