<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/client/reactor, branch arti-v2.3.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.3.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.3.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-04-21T14:52:33Z</updated>
<entry>
<title>tor-proto: Simplify a match+if statement.</title>
<updated>2026-04-21T14:52:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-04-19T20:04:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=158548bf5e33dbfe1dcd4e08874a5965081a284a'/>
<id>urn:sha1:158548bf5e33dbfe1dcd4e08874a5965081a284a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: small cleanup of legacy code</title>
<updated>2026-04-08T15:29:25Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-03-31T17:31:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=46e6308d2efd95af9aeaa8ea6100e8a1fc8b3bd5'/>
<id>urn:sha1:46e6308d2efd95af9aeaa8ea6100e8a1fc8b3bd5</id>
<content type='text'>
I think it was written like this because earlier versions of rust didn't
allow references to temporaries like `&amp;mut rand::rng()` and needed them
to be bound to a variable. But this isn't necessary anymore and so the
comment doesn't make sense.
</content>
</entry>
<entry>
<title>tor-proto: Port to web-time-compat</title>
<updated>2026-03-26T19:20:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-03-26T14:33:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=11f365738ade6ba75eedee83d7d19f8877da7d65'/>
<id>urn:sha1:11f365738ade6ba75eedee83d7d19f8877da7d65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix word duplicate typos</title>
<updated>2026-03-15T20:18:56Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2026-03-15T20:05:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2173207d8b909d1afdc55adda13faac13cdded0f'/>
<id>urn:sha1:2173207d8b909d1afdc55adda13faac13cdded0f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Rename CircSyncView to CircHopSyncView</title>
<updated>2026-02-16T15:24:51Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-12T19:10:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6b28b785a2d26e7b89c32ad1f957813d707d90b'/>
<id>urn:sha1:a6b28b785a2d26e7b89c32ad1f957813d707d90b</id>
<content type='text'>
And update the docs
</content>
</entry>
<entry>
<title>proto: Remove unused n_open_streams() functions</title>
<updated>2026-02-16T15:24:51Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-12T18:13:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a91c3d15b2be154569588f48e2ced6e8ed2e6c10'/>
<id>urn:sha1:a91c3d15b2be154569588f48e2ced6e8ed2e6c10</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Replace circuit-scoped n_open_streams() with per-hop alternative</title>
<updated>2026-02-16T15:24:51Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-12T17:52:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4a5659119bfe8f352340c042b7897ce7562bc07b'/>
<id>urn:sha1:4a5659119bfe8f352340c042b7897ce7562bc07b</id>
<content type='text'>
`IncomingStreamRequestFilter`s, and `CircSyncView`s, by extension, are used
both by old relay implementation and the new one for implementing an
out-of-reactor way of deciding how to handle an incoming stream.

In the new circuit reactor design, we have a separate stream reactor for
each hop. Upon receiving an incoming stream, the stream reactor will
need to build one of these `CircSyncView` objects, and then pass it to
an externally-provided `IncomingStreamRequestFilter`. Before this
change, `CircSyncView::n_open_streams()` returned the total number of
open streams, which wouldn't have worked with the new reactor design,
because the per-hop stream reactor doesn't have a global view of all the
hops, so its `CircSyncView` can't return the total number of streams (at
least not without message passing, or sharing state with the other
stream reactors).
</content>
</entry>
<entry>
<title>proto: Replace CircSyncView with previously client-only CircSyncView</title>
<updated>2026-02-16T15:24:51Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-16T10:58:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=863ee4fe98b66d0dd8c7c53f98a6ab1c2ff347f2'/>
<id>urn:sha1:863ee4fe98b66d0dd8c7c53f98a6ab1c2ff347f2</id>
<content type='text'>
Note: this commit only contains the removal of the old `CircSyncView`,
and it of course doens't compile. A future commit will replace the
removed file with the `syncview.rs` from the client module.

This change is split over two commits because it makes reviewing easier
(`git mv`ing the new file over the old results in a confusing diff,
because `git` refuses to show it as a move).
</content>
</entry>
<entry>
<title>proto: Adjust visibility in client::reactor::CircSyncView</title>
<updated>2026-02-16T15:24:48Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-12T18:59:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dd25194504bb26ff33e0b751d417486dd5fe2fa5'/>
<id>urn:sha1:dd25194504bb26ff33e0b751d417486dd5fe2fa5</id>
<content type='text'>
This is in preparation for replacing the top-level `CircSyncView` with
it.
</content>
</entry>
<entry>
<title>proto: Use absolute path in CircHopList import</title>
<updated>2026-02-16T15:24:48Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-12T18:55:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0adf44ec6eed48c235d3ea57afb7ad205f101a5f'/>
<id>urn:sha1:0adf44ec6eed48c235d3ea57afb7ad205f101a5f</id>
<content type='text'>
This file will be moved to the top-level `circuit` module soon.
</content>
</entry>
</feed>
