<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/congestion/fixed.rs, branch arti-v1.4.3</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.3</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.3'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-04-23T18:38:25Z</updated>
<entry>
<title>tor-proto: rename `allow_stream_sendme` to `uses_stream_sendme`</title>
<updated>2025-04-23T18:38:25Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-04-17T02:54:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6bca46e154084f1f76612bc8dee8706d835c14e3'/>
<id>urn:sha1:6bca46e154084f1f76612bc8dee8706d835c14e3</id>
<content type='text'>
We use this method to decide whether to allow receiving stream SENDMEs,
and also whether we should send stream SENDMEs.
</content>
</entry>
<entry>
<title>circ: Don't send stream level SENDME with CC</title>
<updated>2025-04-23T18:36:28Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-01-22T19:06:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0528a4729485237cace58827236f4d459f383628'/>
<id>urn:sha1:0528a4729485237cace58827236f4d459f383628</id>
<content type='text'>
This adds a new function to the CongestionControl object that returns
true or false on if stream level SENDMEs are allowed by the underlying
algorithm.

Congestion control Vegas doesn't allow them as in it retires them and so
we avoid sending them for that algorithm.

Part of #1817

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>congestion: Remove duplicated comments</title>
<updated>2025-01-16T14:16:01Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-01-08T20:12:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d1d22ae509ac819df5904aeaee1993994e5ded7e'/>
<id>urn:sha1:d1d22ae509ac819df5904aeaee1993994e5ded7e</id>
<content type='text'>
No need to have these comments in the implementation of the Trait.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: New CongestionControl object and fixed window algorithm</title>
<updated>2025-01-16T14:16:01Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-04-30T14:05:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=56e062c4a911440a6d5cfb612140c8225e27a7fe'/>
<id>urn:sha1:56e062c4a911440a6d5cfb612140c8225e27a7fe</id>
<content type='text'>
Add the top level CongestionControl object that will allow the circuit
reactor to use it in order to decide if a cell can be sent or not. In
order to be used, it is configured with an algorithm that implements the
CongestionControlAlgorithm trait.

The Fixed Window algorithm is also added which essentially implements
the SENDME logic as arti knows it today with a fixed window size.

The SENDME code has been refactor in two different logical steps in
order to accomodate the future Vegas algorithm for which the congestion
window logic and SENDME validity is seperated.

There is now a SENDME validator that takes care of tracking the tags
(authenticated SENDMEs) and validating them upon reception. Then, if
valid, the window management is passed down the congestion control
algorithm, at this commit, FixedWindow object.

Related #534

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
</feed>
