<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/stream/ctrl.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>2023-05-24T19:25:33Z</updated>
<entry>
<title>Add "TODO RPC" notes around DataStreamCtrl per review.</title>
<updated>2023-05-24T19:25:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-24T19:24:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e4758a754ec06cd6fc071f46aff3b5da892fd558'/>
<id>urn:sha1:e4758a754ec06cd6fc071f46aff3b5da892fd558</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Create a `DataStreamCtrl` type.</title>
<updated>2023-05-22T15:27:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-22T15:15:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0df0cf425032ff05d0d405d82436cbfd86faf3ac'/>
<id>urn:sha1:0df0cf425032ff05d0d405d82436cbfd86faf3ac</id>
<content type='text'>
The idea here is that we want to make DataStream visible to the
RPC system without requiring that the RPC session hold the
DataStream itself (or the Reader, or the Writer).  We could solve
this problem by making _all_ the state in the DataStream shared,
but that would introduce unnecessary extra locking in our critical
path.

Instead we're creating the notion of a "control handle" that lets
you manage and observe a stream without actually owning the stream.

Right now the only supported functionality is asking for the
stream's circuit.

Part of #847
</content>
</entry>
</feed>
