<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/client/reactor/control.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-11T19:54:14Z</updated>
<entry>
<title>tor-proto: box `CircParameters` in test-only `CtrlCmd::AddFakeHop`</title>
<updated>2026-08-11T19:54:14Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-08-11T19:49:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=632d287dca1518d907b06d16e322e458d4c21e56'/>
<id>urn:sha1:632d287dca1518d907b06d16e322e458d4c21e56</id>
<content type='text'>
This fixes a `clippy::large_enum_variant`.
</content>
</entry>
<entry>
<title>tor-cell: rename `XonKbpsEwma` to `XonKBpsEwma`</title>
<updated>2026-07-30T21:34:23Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-07-30T21:01:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0fecfa9a0102ff58676bcb0c5e36eed4996a68f4'/>
<id>urn:sha1:0fecfa9a0102ff58676bcb0c5e36eed4996a68f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: log virtual hop additions at trace.</title>
<updated>2026-07-02T14:37:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-06-09T18:09:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3dd77d29dd163b22225b0b33b9c3c638a64a938d'/>
<id>urn:sha1:3dd77d29dd163b22225b0b33b9c3c638a64a938d</id>
<content type='text'>
We do something similar with non-virtual hops at !4076.
</content>
</entry>
<entry>
<title>proto: Add crate-level exports for two extra stream types (fmt)</title>
<updated>2026-06-17T13:38:44Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-06-17T13:31:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d305c6c0a201703ce14fbcfdce1864aeda9cc8dc'/>
<id>urn:sha1:d305c6c0a201703ce14fbcfdce1864aeda9cc8dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: move memquota stream account arg to last position</title>
<updated>2026-05-21T16:35:59Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-05-21T02:13:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=73088207825942721ec02ccec4d2424e688586f3'/>
<id>urn:sha1:73088207825942721ec02ccec4d2424e688586f3</id>
<content type='text'>
This better matches nearby code.
</content>
</entry>
<entry>
<title>tor-proto: move more stream queue init to reactor</title>
<updated>2026-05-21T16:35:59Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-05-21T01:57:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e62d824614fc501d21f6b58f1e98346bf495e1e3'/>
<id>urn:sha1:e62d824614fc501d21f6b58f1e98346bf495e1e3</id>
<content type='text'>
Previously when initializing a stream, we constructed most of the
stream-related queues outside of the reactor and passed the relevant
halves of the queues (senders or receivers) into the reactor.

A downside of the above approach is that the reactor may be better
informed about what queues to construct, and how to construct them. For
example the reactor knows what type of flow control that the hop is
using, so it knows whether we need queues for passing rate limits and
drain rates for XON/XOFF flow control.

This commit moves the construction of these queues into the reactor and
passes the relevant halves out of the reactor. In the future we can make
better decisions about which queues are needed depending on the flow
control method used instead of always constructing them (see arti#2068).

Reviewing with `--color-moved` might be helpful as a few lines have been
moved.
</content>
</entry>
<entry>
<title>tor-proto: add `ReactorStreamComponents` to bundle return vals</title>
<updated>2026-05-21T01:52:49Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-05-20T19:29:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2801a1b30f50488ca79bbe21d3061b07fe40b945'/>
<id>urn:sha1:2801a1b30f50488ca79bbe21d3061b07fe40b945</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: move stream incoming queue init to reactor</title>
<updated>2026-05-21T00:36:59Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-05-12T22:36:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=be505ab176da88dd8cea7e3a42530d81fb0267b5'/>
<id>urn:sha1:be505ab176da88dd8cea7e3a42530d81fb0267b5</id>
<content type='text'>
The stream queue length (for messages incoming from the Tor network)
depends on the type of flow control we're using for the hop. Currently
we construct the stream queue outside of the circuit reactor, but we
don't have the flow control information here.

Instead of constructing the stream queue outside of the reactor and
passing the sender into the reactor, we construct the stream queue
inside of the reactor and pass the receiver out of the reactor.
</content>
</entry>
<entry>
<title>tor-proto: clean up return type of `Circuit::begin_stream()`</title>
<updated>2026-05-11T21:06:25Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-05-11T20:40:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2719019310d76aafebe6b33b01512d09a55eeae3'/>
<id>urn:sha1:2719019310d76aafebe6b33b01512d09a55eeae3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: reorg error handling for BeginStream reactor cmd</title>
<updated>2026-05-11T20:44:42Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-05-11T20:31:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=22ba049e5b89bb3e0c14798ee24b6f33c30883ac'/>
<id>urn:sha1:22ba049e5b89bb3e0c14798ee24b6f33c30883ac</id>
<content type='text'>
</content>
</entry>
</feed>
