<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/stream, branch arti-v1.4.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-01-30T16:11:01Z</updated>
<entry>
<title>proto: deprecate DataStream::circuit</title>
<updated>2025-01-30T16:11:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-30T16:07:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d0e07702225cc0c9f829f1db1c571e8c2ffee4c3'/>
<id>urn:sha1:d0e07702225cc0c9f829f1db1c571e8c2ffee4c3</id>
<content type='text'>
This method is experimental, so no semver note is needed.
It is redundant with `client_stream_ctrl()?.circuit()?`.

(The name and the unconditional return type of this method
are probably an error.)
</content>
</entry>
<entry>
<title>proto: Rename (experimental) DataStream functions for ctrl access</title>
<updated>2025-01-30T16:11:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-30T15:48:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=01197344045835a2e901cf68488332bf3c8ccd56'/>
<id>urn:sha1:01197344045835a2e901cf68488332bf3c8ccd56</id>
<content type='text'>
Since these return a client-specific type,
they need a client-specific name before we can stabilize them for RPC.
</content>
</entry>
<entry>
<title>proto: Rename ClientDataStreamCtrl::{is_open=&gt;is_connected}</title>
<updated>2025-01-30T16:11:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-30T15:41:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f0f5e3f43c3fc3de23e83dc97f162e783f03edbd'/>
<id>urn:sha1:f0f5e3f43c3fc3de23e83dc97f162e783f03edbd</id>
<content type='text'>
Semantically, the new name matches the behavior much better.
(A stream could well count as open if we had sent a RESOLVE but not
received a RESOLVED, so we might someday want to have an `is_open`
defined for _all_ streams, not just data streams.)
</content>
</entry>
<entry>
<title>proto: Rename DataStreamCtrl to ClientDataStreamCtrl</title>
<updated>2025-01-30T16:11:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-30T15:31:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=af6ba7ea0379e2129e1cef1952d193f6783c5bbb'/>
<id>urn:sha1:af6ba7ea0379e2129e1cef1952d193f6783c5bbb</id>
<content type='text'>
The API for this type, and the fact that it implements
ClientStreamCtrl unconditionally, means that it is only for client
DataStreams.
</content>
</entry>
<entry>
<title>proto: Clarify applicability of ClientStreamCtrl.</title>
<updated>2025-01-30T15:30:54Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-30T15:30:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f90b57cd7d84ed5bb955b0f3e39569c4ec1603d9'/>
<id>urn:sha1:f90b57cd7d84ed5bb955b0f3e39569c4ec1603d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Use congestion control in circuit reactor</title>
<updated>2025-01-16T14:16:01Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-12-16T19:00:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a8d9982af0ed29e389b2c2b7f8cc538ebf546bfc'/>
<id>urn:sha1:a8d9982af0ed29e389b2c2b7f8cc538ebf546bfc</id>
<content type='text'>
It is official, congestion control is now used at this commit by the
circuit reactor making circuit/sendme.rs unused. Will be removed with
another commit.

Related #534

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>memquota: Use _ rather than allow(dead_code) (fmt)</title>
<updated>2024-10-22T12:19:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-22T12:19:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=905dad6dd31a4927c8d35b081105d69e1063cf77'/>
<id>urn:sha1:905dad6dd31a4927c8d35b081105d69e1063cf77</id>
<content type='text'>
</content>
</entry>
<entry>
<title>memquota: Use _ rather than allow(dead_code)</title>
<updated>2024-10-22T12:19:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-22T12:16:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eed28245887b87a7bf1e884b568f8062148cdd76'/>
<id>urn:sha1:eed28245887b87a7bf1e884b568f8062148cdd76</id>
<content type='text'>
Promote the associated comments.

As suggested here:
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2560#note_3097188
</content>
</entry>
<entry>
<title>memquota: fix data stream account lifetime</title>
<updated>2024-10-21T10:11:20Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-16T15:57:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6092b87c6a2351dfcf90e7f81505b06820e95eaf'/>
<id>urn:sha1:6092b87c6a2351dfcf90e7f81505b06820e95eaf</id>
<content type='text'>
The DataStream is sometimes disassembled, eg by split.  When that
happens, the StreamAccount would be dropped - and that was the only
strong reference.

Put a StreamAccount in each of the pieces, instead of just in the
combined DataStream struct.
</content>
</entry>
<entry>
<title>memquota: Fix resolve stream account lifetime</title>
<updated>2024-10-21T10:11:20Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-16T15:25:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a67433aa9a0a079d1e070d40000fdb74fb6bbc06'/>
<id>urn:sha1:a67433aa9a0a079d1e070d40000fdb74fb6bbc06</id>
<content type='text'>
We need the mq account for the stream not to collapse.  The
ResolveStream object needs to contain a strong reference to it.

Have begin_stream_impl return the StreamAccount, rather than taking it
as a parameter.  That makes this bug a little more obvious.  It also
centralises the StreamAccount creation.
</content>
</entry>
</feed>
