<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/circuit/streammap.rs, branch arti-v1.2.4</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-04-02T18:16:54Z</updated>
<entry>
<title>counted_map: Add some notes about correctness; downgrade unsafes</title>
<updated>2024-04-02T18:16:54Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-02T18:14:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1043fc123b32313557af45d85e8149fc406f1233'/>
<id>urn:sha1:1043fc123b32313557af45d85e8149fc406f1233</id>
<content type='text'>
(We're letting the "unchecked" suffix of this function be enough
to indicate that it's risky to use.)
</content>
</entry>
<entry>
<title>streammap: Use an internal counted_hashmap to simplify invariant checking</title>
<updated>2024-03-28T14:49:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-26T18:07:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ed67e615fd928f503d13772e37b809955d568ffd'/>
<id>urn:sha1:ed67e615fd928f503d13772e37b809955d568ffd</id>
<content type='text'>
Instead of making `streammap.rs` responsible for keeping track of a
count field, this lowers that functionality into a lower-level
CountedHashMap type.  Said type has a little more functionality than
we need, to sketch out how we'd want to develop it moving forward if
we find that it's useful elsewhere.

Closes #1344.
</content>
</entry>
<entry>
<title>Define a type for a synchronous (blocking) view of a circuit state.</title>
<updated>2024-03-26T16:55:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-20T14:48:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d8a1c0af0e656643f7066ef0c8079c50aa982ad3'/>
<id>urn:sha1:d8a1c0af0e656643f7066ef0c8079c50aa982ad3</id>
<content type='text'>
We'll use this as an argument for the callback that checks stream
requests to make sure they're permitted.
</content>
</entry>
<entry>
<title>proto: Make StreamMap keep a count of open streams.</title>
<updated>2024-03-26T16:54:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-20T14:37:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=209d60af2757ba942835a5b34ecd840da2583ecd'/>
<id>urn:sha1:209d60af2757ba942835a5b34ecd840da2583ecd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Prevent general state-transitions on StreamEnt</title>
<updated>2024-03-26T16:54:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-20T14:28:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=62d749c1eb7730eeb025885c7d7f86a0ac8c333a'/>
<id>urn:sha1:62d749c1eb7730eeb025885c7d7f86a0ac8c333a</id>
<content type='text'>
We want to keep an accurate count of the number of open streams, so
we have to stop exposing `&amp;mut StreamEnt` outside of the streammap
module.
</content>
</entry>
<entry>
<title>proto: Refactor circuit::streammap::StreamEnt</title>
<updated>2024-03-26T16:54:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-20T14:16:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3ccc523b89d5ed37e76d8c2be43872d9127b8596'/>
<id>urn:sha1:3ccc523b89d5ed37e76d8c2be43872d9127b8596</id>
<content type='text'>
This is the first part of a refactoring that will let us keep code
from the outside of `streammap` from changing a stream from one
state to another.  And we need to do _that_ so that StreamMap can
count how many open streams it has.
</content>
</entry>
<entry>
<title>Run maint/add_warning.</title>
<updated>2024-03-13T16:30:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-13T16:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c'/>
<id>urn:sha1:c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename UnparsedRelayCell -&gt; UnparsedRelayMsg</title>
<updated>2024-03-12T15:58:12Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-03-04T17:17:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=190d1cba722c1ebe840eca2b06d82a89678847dc'/>
<id>urn:sha1:190d1cba722c1ebe840eca2b06d82a89678847dc</id>
<content type='text'>
For consistency with the terminology proposed in
https://gitlab.torproject.org/tpo/core/torspec/-/issues/253
</content>
</entry>
<entry>
<title>Convert StreamId to NonZeroU16</title>
<updated>2023-10-25T20:34:55Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2023-10-23T22:57:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=48d95b8be53177d34012c53dd84ed888ebfb5cc8'/>
<id>urn:sha1:48d95b8be53177d34012c53dd84ed888ebfb5cc8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Have EndSent remember if we have dropped the stream target.</title>
<updated>2023-10-19T17:15:10Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-18T13:53:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6cbde09414c1411d8ab3267b732da49068f8ef4a'/>
<id>urn:sha1:6cbde09414c1411d8ab3267b732da49068f8ef4a</id>
<content type='text'>
The rule is that we allow up to one explicit `close_pending`,
followed by exactly one final `mpsc::Sender` drop.
</content>
</entry>
</feed>
