| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
|
| | | | |
|
| | |/
|/|
| |
| |
| | |
This was previously creating a new CircuitAccount in
`new_outbound_circ()`, and then immediately dropping it.
|
| | | |
|
| | |
| |
| |
| |
| | |
(With no-default-features there is no runtime, and that still causes
a compiler error.)
|
| | |
| |
| |
| |
| |
| |
| |
| | |
The replacement (TestingStateMgr) is not correct, but it will
compile until we have a supported state manager.
(This made cargo-sort have me move a section around. Not sure why it
cares.)
|
| | |
| |
| |
| | |
Without it, CI seems to fail.
|
| | |
| |
| |
| |
| | |
Requiring all features, including experimental features, is
too general.
|
| |\ \
| | |
| | |
| | |
| | | |
Make wasm32-unknown pass clippy (with --no-default-features, with warnings) up through tor-dirmgr.
See merge request tpo/core/arti!3814
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is temporary while we wait on arti#2106.
(This made cargo-sort have me move a section around. Not sure why it
cares.)
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
IoErrorExt existed to provide a workaround for Rust versions
that didn't have io::ErrorKind::NotADirectory. But NotADirectory
was stabilized in 1.83 and our MSRV is 1.89.
BinaryHeapExt existed to provide an implementation for Rust
versions that didn't have BinaryHeap::retain. But
BinaryHeap::retain was stabilized in 1.70 and our MSRV is 1.70.
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
rpc: Rename and refactor types+modules
See merge request tpo/core/arti!3774
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since we renamed PollingStream and NonblockingStream to
BlockingConnection and NonblockingConnection, it no longer makes
sense to refer to them as streams, or put them in variables called
"stream".
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit is almost entirely code movement; it's probably best to review
this one with --color-moved.
I've had to make a field (temporarily) pub(super). The next commit
will fix that.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Since we are no longer calling these types "streams" I've decided to
revert to the old name for this module.
|
| | | | | |
|
| | | | | |
|
| | |/ / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
fallbackdir: Update list generated on March 25, 2026
See merge request tpo/core/arti!3813
|
| | |/ /
| | |
| | |
| | | |
Signed-off-by: Tor CI Release <[email protected]>
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
arti-relay: Add `log_sensitive_information` config option
See merge request tpo/core/arti!3806
|
| | | |/
| |/| |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
proto: Fix relay reactor RELAY_EARLY bug, add tests
Closes #2353 and #2417
See merge request tpo/core/arti!3810
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The `ForwardHandler` trait is meant for implementation-dependent
functions that are called from the implementation-agnostic
`ForwardReactor`. Previously `handle_unrecognized_cell()` was called
directly by the generic `ForwardReactor`, but that's no longer the case,
so it doesn't belong in the trait anymore.
This commit is just code motion. Best reviewed with `--color-moved`
|
| | | | |
| | | |
| | | |
| | | | |
Closes #2417
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This adds an initial set of tests for the circuit reactor.
We will, of course, add more tests as we continue working on the
implementation.
Closes #2353
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
This will soon be used by the relay tests too.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
This will be needed for the relay circuit reactor tests.
|
| | | | |
| | | |
| | | |
| | | | |
We'll soon need this for the relay reactor tests too.
|
| | | | | |
|
| | | | |
| | | |
| | | | |
Co-authored-by: Ian Jackson
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit modifies the dotline check to prevent generating lines that
consist of a single dot followed by an arbitrary amount of whitespace,
such as `.`, `. `, `. \t `, but not `. \t foo`.
It also adjusts the tests appropriately.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As pointed out by Diziet, our implementation does not reject dotlines
properly, due to our use of `trim_end()`. This commit fixes this, by
just checking for `line == ".\n"`. This is fine because we ensure Unix
line endings now anyways.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit changes the consdiff generation to enforce Unix line endings
and reject all other ones, including Windows line endings as well as no
line endings. In other words, it checks for `\n` while forbidding
`\r\n`.
It also renames the relevant error variant to reflect this change
better.
|
| | | | |
| | | |
| | | |
| | | | |
This is done to only get the first directory-signature.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit refactors the result composition by simply looping over
every line and checking whether it ends with a newline AND does not
consist of a single dot.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit changes the error variants that contain a line number to a
named variant with a field `lno: usize` to make it semantically clear,
that it is a line number.
|
| | | | | |
|