<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/relay/reactor.rs, branch arti-v2.1.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.1.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.1.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-02-05T16:04:59Z</updated>
<entry>
<title>proto: Add an implementation-dependent reactor event stream</title>
<updated>2026-02-05T16:04:59Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-05T10:15:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=86f5b3a066c524dacdd075f7183529eb5c73f816'/>
<id>urn:sha1:86f5b3a066c524dacdd075f7183529eb5c73f816</id>
<content type='text'>
This will enable us to obtain implementation-dependent asynchronous
events (such as the outcome of an extend handshake).
</content>
</entry>
<entry>
<title>proto: Make chan_provider an Arc</title>
<updated>2026-02-05T16:00:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-28T19:00:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=182921c0d39dac33444349d03b4baa52df999783'/>
<id>urn:sha1:182921c0d39dac33444349d03b4baa52df999783</id>
<content type='text'>
To match the `ChannelProvider::get_or_launch()` function signature.
</content>
</entry>
<entry>
<title>proto: Pass the unique id to Forward handler</title>
<updated>2026-02-05T16:00:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-29T14:47:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1a87a767ca5044061a9d97c79260bec7fec36c3f'/>
<id>urn:sha1:1a87a767ca5044061a9d97c79260bec7fec36c3f</id>
<content type='text'>
We need the unique_id here, because the Forward handler will soon start
using the `ChannelProvider::get_or_launch()` to launch outbound
channels, which takes the reactor unique_id as an argument.
</content>
</entry>
<entry>
<title>proto: Move channel provider out of the generic reactor</title>
<updated>2026-02-05T16:00:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-28T18:36:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=733b04dd17d11a661b9f43e9eb5d69667589858d'/>
<id>urn:sha1:733b04dd17d11a661b9f43e9eb5d69667589858d</id>
<content type='text'>
The channel provider is relay-specific, so I am moving it to the relay
`ForwardHandler` implementation. This enables us to get rid of some of
the feature gating from the generic reactor.
</content>
</entry>
<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>
</feed>
