<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/stream/flow_control.rs, branch arti-v1.4.6</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-07-17T18:01:47Z</updated>
<entry>
<title>tor-proto: add the `XonXoffReader` and connect it to the reactor</title>
<updated>2025-07-17T18:01:47Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-07-17T05:47:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ac0a34306105bb003573a854c64eedc9cefac51e'/>
<id>urn:sha1:ac0a34306105bb003573a854c64eedc9cefac51e</id>
<content type='text'>
The idea here is that the reactor builds an `XonXoffReaderCtrl` for the
new stream, and the `XonXoffReaderCtrl` can receive notifications from
the reactor's `StreamFlowControl`. The `XonXoffReaderCtrl` can be
combined with any `AsyncRead` to build a `XonXoffReader`, essentially
wrapping the `AsyncRead` with a type that handles XON/XOFF flow control.
Essentially, the reactor gives you a type that allows you to add
XON/XOFF flow control support to any `AsyncRead`.

We will add this `XonXoffReader` to the `DataReader` in a future commit.
</content>
</entry>
<entry>
<title>tor-proto: add plumbing for sending XON</title>
<updated>2025-07-17T18:01:47Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-07-16T19:48:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4bcfcc3cae31f901e828369383e4660778eaa8c6'/>
<id>urn:sha1:4bcfcc3cae31f901e828369383e4660778eaa8c6</id>
<content type='text'>
Nothing actually causes an XON to be sent yet. But this adds the code so
that anything holding the `StreamTarget` can request to send an XON.
</content>
</entry>
<entry>
<title>tor-cell: add `FlowCtrlVersion::V0`</title>
<updated>2025-07-16T17:36:43Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-07-16T14:50:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=15422178d62506ad61b87a38f59cbc8536c5becd'/>
<id>urn:sha1:15422178d62506ad61b87a38f59cbc8536c5becd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: send XOFF messages when the queue grows too large</title>
<updated>2025-07-16T17:36:43Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-07-15T04:59:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=be5da87e8530a34a88db2a01b42a03431a9df8db'/>
<id>urn:sha1:be5da87e8530a34a88db2a01b42a03431a9df8db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: rename `StreamSendFlowControl` and related changes</title>
<updated>2025-07-15T05:33:24Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-07-14T18:19:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7e32d68cef82190be965061200736217b5acf17f'/>
<id>urn:sha1:7e32d68cef82190be965061200736217b5acf17f</id>
<content type='text'>
The plan is to use `StreamSendFlowControl` (now `StreamFlowControl`) for
both outgoing and incoming directions, so a name change is needed.

This also updates some comments, and renames some related struct fields
that have the word "send" in them.
</content>
</entry>
<entry>
<title>tor-cell: remove `flowctl-cc` feature and make XON/XOFF cells stable</title>
<updated>2025-07-15T05:33:18Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-07-15T05:27:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=676dbdb43f2a930b7dc89d2a6275338064fd37bf'/>
<id>urn:sha1:676dbdb43f2a930b7dc89d2a6275338064fd37bf</id>
<content type='text'>
I don't see any further changes being needed for these types, and it
simplifies a lot of future code in tor-proto that uses these types.
</content>
</entry>
<entry>
<title>tor-proto: renamed `get_bytes_per_sec()` to `bytes_per_sec()`</title>
<updated>2025-07-10T15:11:19Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-07-10T15:10:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9449449f8d30e531ee65d00f70c0206f558a5727'/>
<id>urn:sha1:9449449f8d30e531ee65d00f70c0206f558a5727</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: set `XonXoffBased` variant behind "flowctl-cc" feat</title>
<updated>2025-07-07T17:12:05Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-17T00:33:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=93e6336b9192f1240a3744caccfb2925eb7c11ee'/>
<id>urn:sha1:93e6336b9192f1240a3744caccfb2925eb7c11ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: finish support for `StreamSendFlowControl` XON/XOFF</title>
<updated>2025-07-07T17:12:05Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-16T23:17:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4fb8ad839f6162cfd0e6094d4b90dd2e2a2c162c'/>
<id>urn:sha1:4fb8ad839f6162cfd0e6094d4b90dd2e2a2c162c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: handle XON/XOFF messages</title>
<updated>2025-07-07T17:12:05Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-16T23:16:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=58a5d3a3b664fdc632ce8a39e6a3481606d63a86'/>
<id>urn:sha1:58a5d3a3b664fdc632ce8a39e6a3481606d63a86</id>
<content type='text'>
</content>
</entry>
</feed>
