<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/relay/reactor.rs, branch arti-v2.0.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.0.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.0.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-01-29T16:33:21Z</updated>
<entry>
<title>proto: Remove unused async from relay reactor</title>
<updated>2026-01-29T16:33:21Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-29T16:21:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7cfe5a3768e94249a32bde081590203f2dea0393'/>
<id>urn:sha1:7cfe5a3768e94249a32bde081590203f2dea0393</id>
<content type='text'>
Fixes a clippy warning
</content>
</entry>
<entry>
<title>proto: Replace relay reactor with new generic reactor</title>
<updated>2026-01-29T16:33:21Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-26T18:40:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc26b037e03cc7ae25b69e9e8ac99527c5fcb8b0'/>
<id>urn:sha1:bc26b037e03cc7ae25b69e9e8ac99527c5fcb8b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Avoid locking in CircHopOutbound::ccontrol()</title>
<updated>2026-01-29T16:33:21Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-22T11:54:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=29159e80c713ea4ab1ab657c7eeae53f37e62814'/>
<id>urn:sha1:29159e80c713ea4ab1ab657c7eeae53f37e62814</id>
<content type='text'>
This is just because the generic reactor will soon need a clone of the
CC object, so I am preemptively making this function return a ref to the
underlying `Arc` instead. Technically, it would've been fine to just
kept this method and add a separate one returning `&amp;Arc&lt;Mutex&lt;..&gt;&gt;`,
but I'd prefer keeping the API small.
</content>
</entry>
<entry>
<title>proto: Rip CC state out of CircHopInbound</title>
<updated>2026-01-29T16:33:21Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-16T16:51:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ce6c90cca94b02e6d78d7cca7f01ec4f675f4c28'/>
<id>urn:sha1:ce6c90cca94b02e6d78d7cca7f01ec4f675f4c28</id>
<content type='text'>
Soon it won't need be needed here any more. I'm removing it, because
having redundant handles to the CC state makes it difficult to see
exactly where it's being used from.
</content>
</entry>
<entry>
<title>proto: Dedupe IncomingStreamRequestHandler</title>
<updated>2026-01-12T19:10:54Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-12T18:50:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=271603e38f5be23ae3ff756a18fb87406a933e9d'/>
<id>urn:sha1:271603e38f5be23ae3ff756a18fb87406a933e9d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Give IncomingStreamRequestHandler a HopNum</title>
<updated>2026-01-12T19:10:43Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-12T18:44:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c4c13c63c40374370f5a61dfd6f97c40478c528a'/>
<id>urn:sha1:c4c13c63c40374370f5a61dfd6f97c40478c528a</id>
<content type='text'>
This currently duplicates the client `IncomingStreamRequestHandler`.
To deduplicate it, we need the `hop_num` to be optional (it will be
`None` for relays, and `Some(hopnum)` in the client reactor).

The next commit will fix the code duplication.
</content>
</entry>
<entry>
<title>proto: Relay circuit reactor now handles AnyChanMsg</title>
<updated>2025-12-10T16:04:26Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-12-08T19:35:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=252cff2fb8e40b37e28b4faff8abb47862fabb7c'/>
<id>urn:sha1:252cff2fb8e40b37e28b4faff8abb47862fabb7c</id>
<content type='text'>
Same as the client reactor, a message outside of our restricted set
leads to a reactor shutdown.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Move RelayCircChanMsg into relay module</title>
<updated>2025-12-10T16:03:12Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-12-08T18:22:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6a14dc2b478a41f7f2ee54b307a746c22ced233f'/>
<id>urn:sha1:6a14dc2b478a41f7f2ee54b307a746c22ced233f</id>
<content type='text'>
This follows the move of the client specific object.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Fix relay/hs-service feature gating (fmt)</title>
<updated>2025-12-08T17:40:08Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-12-08T17:40:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5020e1e2add42450252512f4eb628e95409cc7d4'/>
<id>urn:sha1:5020e1e2add42450252512f4eb628e95409cc7d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Fix relay/hs-service feature gating</title>
<updated>2025-12-08T17:39:08Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-12-08T17:39:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f033030c559ec75e0a4a26b69a1e15ca66a7e0d7'/>
<id>urn:sha1:f033030c559ec75e0a4a26b69a1e15ca66a7e0d7</id>
<content type='text'>
Without this, `tor-proto` doesn't compile if you enable the `relay`
feature but not `hs-service`.
</content>
</entry>
</feed>
