<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/stream, branch arti-v1.1.5</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.5'/>
<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: Add stream-status functionality to DataStreamCtrl.</title>
<updated>2023-05-24T19:25:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-22T16:03:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a397ca77d993d806753eeec47c95693dfd35c9a1'/>
<id>urn:sha1:a397ca77d993d806753eeec47c95693dfd35c9a1</id>
<content type='text'>
There are some weaknesses and problems here; see TODO notes.
</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>
<entry>
<title>Refactor ClientCirc APIs to use Arc&lt;ClientCirc&gt;.</title>
<updated>2023-05-16T13:02:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-16T13:02:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ee390c423e7df0b678d77a8685f45dc526581910'/>
<id>urn:sha1:ee390c423e7df0b678d77a8685f45dc526581910</id>
<content type='text'>
Now ClientCirc is no longer `Clone`, and the things that need it
to be `Clone` instead return and use an Arc&lt;ClientCirc&gt;
We're doing this so that ClientCirc can participate in the RPC
system, and so that its semantics are more obvious.

Closes #846.

Thanks to the type system, this was a much simpler refactoring than
I had feared it would be.
</content>
</entry>
<entry>
<title>Add some missing imports</title>
<updated>2023-03-28T14:49:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-28T13:16:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=00e522a91ac1ecd59f48dc97a64319d748f2c482'/>
<id>urn:sha1:00e522a91ac1ecd59f48dc97a64319d748f2c482</id>
<content type='text'>
Now
  nailing-cargo +stable clippy -p tor-hsclient --all-features --all-targets
actually works.

squash! Add some missing imports
</content>
</entry>
<entry>
<title>Add an experimental circuit accessor to DataStream.</title>
<updated>2023-03-23T13:18:42Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-03-23T13:18:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a7b238483e2473cef0af279d6e019be75727e25e'/>
<id>urn:sha1:a7b238483e2473cef0af279d6e019be75727e25e</id>
<content type='text'>
Closes #784.
</content>
</entry>
<entry>
<title>proto: Tweak documentation and names around CmdChecker.</title>
<updated>2023-02-27T13:14:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-27T13:14:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=07473ed1fc110b8b48ef02bb288b1f50085dfa06'/>
<id>urn:sha1:07473ed1fc110b8b48ef02bb288b1f50085dfa06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Introduce CmdChecker, and define it for our streams.</title>
<updated>2023-02-17T16:50:27Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-17T16:50:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c5be3c089efc75453762ea975a9a96e6560057dc'/>
<id>urn:sha1:c5be3c089efc75453762ea975a9a96e6560057dc</id>
<content type='text'>
The role of CmdChecker is to verify that messages are arriving at
the appropriate sequence on a stream, with respect to the other
messages that have been received.  Once the stream becomes
half-closed, the CmdChecker is also in charge of consuming incoming
messages on the stream and making sure that they are well-formed.
</content>
</entry>
<entry>
<title>tor-proto: note implications for future HS work</title>
<updated>2023-02-15T15:48:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-13T23:41:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1ee6bfa59cf17adaae2f1a545241e8e73b38c166'/>
<id>urn:sha1:1ee6bfa59cf17adaae2f1a545241e8e73b38c166</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Push stream message parsing into the stream objects.</title>
<updated>2023-02-15T15:48:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-13T22:48:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=41b50b6c56debc1eeb644d65b2738645bf98fce7'/>
<id>urn:sha1:41b50b6c56debc1eeb644d65b2738645bf98fce7</id>
<content type='text'>
This closes #525, and ensures, at last, that we don't parse any
message that we wouldn't accept.
</content>
</entry>
</feed>
