<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/circuit/reactor.rs, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-08-11T20:39:11Z</updated>
<entry>
<title>tor-proto: 'expect' -&gt; 'allow' in `CircReactorHandle`</title>
<updated>2026-08-11T20:39:11Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-08-11T20:03:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8330481a3fb321b8e537e0b0e8991e65f368050a'/>
<id>urn:sha1:8330481a3fb321b8e537e0b0e8991e65f368050a</id>
<content type='text'>
This fixes an `unfulfilled_lint_expectations` warning.

tor-proto conditionally sets a global `allow(unused)`, and if you have
an `expect(unused)` field within an `allow(unused)` struct, rust seems
to warn with 'unfulfilled_lint_expectations'.

https://github.com/rust-lang/rust/issues/160942
</content>
</entry>
<entry>
<title>proto: Add {backward|forward} prefix to circ_id in logs</title>
<updated>2026-08-03T18:27:50Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-08-03T17:47:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c241916c931a7e9c0970e6db643689c2b39468d0'/>
<id>urn:sha1:c241916c931a7e9c0970e6db643689c2b39468d0</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Rename uniq_id to circ_unique_id mostly in logging</title>
<updated>2026-08-03T18:27:50Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-08-03T17:22:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b772cecf5d5bee7e3eea0ca652e4befdeee4ed29'/>
<id>urn:sha1:b772cecf5d5bee7e3eea0ca652e4befdeee4ed29</id>
<content type='text'>
We have decided that instead of "uniq_id" in logging, we'll use the
"&lt;domaine&gt;-[&lt;type&gt;]-id" syntax to indicate who is that unique ID.

This commit only renames circuit's unique ID to "circ_uniq_id".

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Log both UniqId and CircId when possible</title>
<updated>2026-08-03T18:27:50Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-07-29T14:43:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=996f0448223011b6948d2197706b0fcf8b3dfc2d'/>
<id>urn:sha1:996f0448223011b6948d2197706b0fcf8b3dfc2d</id>
<content type='text'>
This commit only affects logging. Whenever possible, log both the UniqId
and CircId.

This also changes the log lines which is now "uniq_id=" and "circ_id="
as the UniqId is internal and circ_id (CircId) is protocol level.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-proto: fix tests when `feature = relay`</title>
<updated>2026-07-29T17:40:27Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-07-29T17:40:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=62a2406d225a7e1d79cd8b9eb032c18ac2ad0bca'/>
<id>urn:sha1:62a2406d225a7e1d79cd8b9eb032c18ac2ad0bca</id>
<content type='text'>
```text
$ cargo test -p tor-proto --features relay
[...]
error[E0405]: cannot find trait `IncomingStreamRequestFilter` in this scope
   --&gt; crates/tor-proto/src/circuit/reactor.rs:631:10
    |
631 |     impl IncomingStreamRequestFilter for AllowAllStreamsFilter {
    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
```
</content>
</entry>
<entry>
<title>proto: Add expect(unused) where needed</title>
<updated>2026-06-29T13:52:57Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-06-23T18:00:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4f4130c34ffb89ff4c75c143d1612d2ced60e9d6'/>
<id>urn:sha1:4f4130c34ffb89ff4c75c143d1612d2ced60e9d6</id>
<content type='text'>
Now that relays no longer use `CtrlCmd::AwaitStreamRequests`, some of
these fields are unused. I'm leaving them in for now, but we should
remove them if they're still unused after we finish the circ reactor
impl.

I'm not removing `AwaitStreamRequests`, because it will be needed by
onion services, when we replace the old client circuit reactor with the
new one.
</content>
</entry>
<entry>
<title>proto: Update tests to use the new stream exports</title>
<updated>2026-06-17T13:38:44Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-06-17T13:37:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c72b89fd162ec6a801e8b82edc694e7e4f16fb4d'/>
<id>urn:sha1:c72b89fd162ec6a801e8b82edc694e7e4f16fb4d</id>
<content type='text'>
The tests don't compile otherwise.
</content>
</entry>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</content>
</entry>
<entry>
<title>proto: Update reactor docs to reflect ForwardHandler change</title>
<updated>2026-03-25T11:27:58Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-03-25T11:20:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=85d991b5b28e555f3acdecb6051d1d7b2a0bddff'/>
<id>urn:sha1:85d991b5b28e555f3acdecb6051d1d7b2a0bddff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Use AllowAllStreamsFilter in relay builds too</title>
<updated>2026-03-25T11:23:27Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-03-24T10:58:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=90d5f3027301d0925e363bbc2dee7c7e40706690'/>
<id>urn:sha1:90d5f3027301d0925e363bbc2dee7c7e40706690</id>
<content type='text'>
</content>
</entry>
</feed>
