<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-circmgr/src, branch arti-v2.5.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.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-06-24T09:01:03Z</updated>
<entry>
<title>tor-netdoc: Wrap port policies in Intern</title>
<updated>2026-06-24T09:01:03Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-18T14:46:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7ad86bce0d99a28519684d1cdb88ff6ec3adcf62'/>
<id>urn:sha1:7ad86bce0d99a28519684d1cdb88ff6ec3adcf62</id>
<content type='text'>
This commit wraps the port policies in an Intern.
</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>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>Upgrade rand crates to 0.10.</title>
<updated>2026-05-12T20:55:43Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2026-05-07T20:06:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a18167928901d8c88cd1cdd87346de8ad1ee42a2'/>
<id>urn:sha1:a18167928901d8c88cd1cdd87346de8ad1ee42a2</id>
<content type='text'>
When the circ-padding feature is enabled, we use maybenot, which does
not yet support rand 0.10. In the meantime, enabling this feature pulls
in rand 0.9. This is not ideal, but should be okay as a temporary
situation.

This also replaces the use of ReseedingRng (which was removed in 0.10)
with the reseeding_rng crate. This is somewhat less performant, but it
should be okay.
</content>
</entry>
<entry>
<title>circmgr,hsclient: s/requery_period/requery_interval</title>
<updated>2026-05-07T18:12:01Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-30T15:22:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6e8bcbbe62a2fb0b57a2e3321496fd7cfeaa20be'/>
<id>urn:sha1:6e8bcbbe62a2fb0b57a2e3321496fd7cfeaa20be</id>
<content type='text'>
C Tor calls this a "period", but "interval" is more accurate.
</content>
</entry>
<entry>
<title>circmgr: Add config option for the HsDir requery period</title>
<updated>2026-05-07T18:11:55Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-30T09:18:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=01d51cf4777b3d74dc640ac0e444f63758b3f057'/>
<id>urn:sha1:01d51cf4777b3d74dc640ac0e444f63758b3f057</id>
<content type='text'>
</content>
</entry>
<entry>
<title>circmgr: Document caveats about BuildCircuit estimator</title>
<updated>2026-05-07T14:17:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-04-30T14:22:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ce1b8826fcda4c3ed2e4c5c77e8e184dc4bc80da'/>
<id>urn:sha1:ce1b8826fcda4c3ed2e4c5c77e8e184dc4bc80da</id>
<content type='text'>
There's no reason that the next person should have to rediscover
these caveats.
</content>
</entry>
<entry>
<title>circmgr: Modernize and correct saturating_mul_f64</title>
<updated>2026-05-07T14:17:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-04-30T13:52:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=35f7dfe5e76f6620118576ec42a13920fe144ac5'/>
<id>urn:sha1:35f7dfe5e76f6620118576ec42a13920fe144ac5</id>
<content type='text'>
Duration::try_from_secs_f64 has existed since Rust 1.66,
so we can use it now.

It seems wrong to treat "infinity" and "negative infinity" as "one
second", so make them actually saturating.

Additionally, document behavior for infinity and negative infinity,
and document that the NaN behavior isn't documented.

(And secretly NaN behavior return a number on the same order of
magnitude as the input.)
</content>
</entry>
<entry>
<title>circmgr: Avoid half-steps in our timeout_scale calculation</title>
<updated>2026-05-07T12:33:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-04-30T13:37:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1a11a4ff43cece6edaaa2394d5e4a3c7b0db078d'/>
<id>urn:sha1:1a11a4ff43cece6edaaa2394d5e4a3c7b0db078d</id>
<content type='text'>
This strategy is safe because (outside of our tests) we never look
at the actual values of timeout_scale, but only at their ratios.
</content>
</entry>
<entry>
<title>circmgr, hsclient: Introduce and use a OneWay timeout estimator.</title>
<updated>2026-05-07T12:33:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-04-30T13:28:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9d3c0bb0eff93e902853694d929d5aade8cdd49f'/>
<id>urn:sha1:9d3c0bb0eff93e902853694d929d5aade8cdd49f</id>
<content type='text'>
</content>
</entry>
</feed>
