<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/congestion, 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-12T14:35:07Z</updated>
<entry>
<title>tor-proto: change some instances of `sendme_inc` to u8</title>
<updated>2026-08-12T14:35:07Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-07-30T19:30:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6c6cdc0e37645a86384dae97d434c3d2ee20c3ec'/>
<id>urn:sha1:6c6cdc0e37645a86384dae97d434c3d2ee20c3ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: fix cc vegas counter updates on clock stall</title>
<updated>2026-07-30T22:22:22Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-07-30T22:22:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8f585f604a48d59a2faceb009d7a893716fc09da'/>
<id>urn:sha1:8f585f604a48d59a2faceb009d7a893716fc09da</id>
<content type='text'>
The pseudocode says:

```text
if next_cc_event:
  next_cc_event--
if next_cwnd_event:
  next_cwnd_event--

if clock_stalled_or_jumped:
  inflight -= 'cc_sendme_inc'
  return
```

but we were previously decrementing these after the return rather than
before.
</content>
</entry>
<entry>
<title>hsclient: Support protocol negotiation for CGO and flowctrl-cc</title>
<updated>2026-07-02T14:37:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-06-10T20:50:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b1e5c0a0f3902b30a76d43bf45ce578d0efffac4'/>
<id>urn:sha1:b1e5c0a0f3902b30a76d43bf45ce578d0efffac4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</content>
</entry>
<entry>
<title>tor-proto: vegas: return early if clock stall was detected</title>
<updated>2026-05-07T19:07:32Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-05-07T19:06:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3ca6a519ee43bbf2050907624245024b11db6b84'/>
<id>urn:sha1:3ca6a519ee43bbf2050907624245024b11db6b84</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: rtt: return clock stall/jump status from `update()`</title>
<updated>2026-05-07T19:06:39Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-05-07T19:05:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8d90606eaee9dc6d749958ff8e54ca3b172ab8e6'/>
<id>urn:sha1:8d90606eaee9dc6d749958ff8e54ca3b172ab8e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Add a test helper function for building a CircNetParameters</title>
<updated>2026-04-14T20:10:18Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-04-14T19:43:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4ac851f19aa4748d928858739b31f80362c8f2a4'/>
<id>urn:sha1:4ac851f19aa4748d928858739b31f80362c8f2a4</id>
<content type='text'>
We can't access `NetParameters` in this crate to build from consensus
default value so instead add a `defaults_for_tests()` gated function for
each parameters object which puts in the defaults from the spec.

We'll need CircNetParameters in order to build create request handler
for unit tests hence why it is in src/circuit.rs.
</content>
</entry>
<entry>
<title>tor-proto: derive `strum::EnumDiscriminants` for `Algorithm`</title>
<updated>2026-04-08T15:29:26Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-03-31T17:36:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=43cec9f9d20e8dec1006e223c94e3b307a74b465'/>
<id>urn:sha1:43cec9f9d20e8dec1006e223c94e3b307a74b465</id>
<content type='text'>
</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>proto: Remove unnecessary test-gating</title>
<updated>2026-03-19T16:31:20Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-03-19T16:31:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f66689795235a29c853181e85d7179cee3f24bc1'/>
<id>urn:sha1:f66689795235a29c853181e85d7179cee3f24bc1</id>
<content type='text'>
The `test_util` modules is already gated behind
`#[cfg(any(test, feature = "testing"))]`.
</content>
</entry>
</feed>
