<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/stream, branch arti-v1.3.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-10-22T12:19:22Z</updated>
<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>
<entry>
<title>tor-proto: Put a StreamAccount in DataStream etc.</title>
<updated>2024-10-03T14:10:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-02T15:42:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7b97ce4ee6d9f7eb42646f870feb7bde42001ad6'/>
<id>urn:sha1:7b97ce4ee6d9f7eb42646f870feb7bde42001ad6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Put a StreamAccount in DataStream etc. (pre-fmt)</title>
<updated>2024-10-03T14:10:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-02T15:42:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b327b0cd620c674a2c89a8d259d2c701ad24befd'/>
<id>urn:sha1:b327b0cd620c674a2c89a8d259d2c701ad24befd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Some HasMemoryCost impls in tor-proto</title>
<updated>2024-10-02T18:11:26Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-25T16:50:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=83fe0a0db66b02e287fdbd96c107781e6f113609'/>
<id>urn:sha1:83fe0a0db66b02e287fdbd96c107781e6f113609</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Introduce type aliases for stream queues</title>
<updated>2024-10-02T14:15:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-26T16:55:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1db1e62dea2ee4602dbb755c32cb6c8ce8cb7f32'/>
<id>urn:sha1:1db1e62dea2ee4602dbb755c32cb6c8ce8cb7f32</id>
<content type='text'>
This will make it easier to change their types.
</content>
</entry>
<entry>
<title>extract tor_async_utils::oneshot into ::oneshot-fused-workaround</title>
<updated>2024-08-28T14:27:46Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-08-22T19:20:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=46f7f01092e6ac55e3e958dc3a2228b1d36e26a1'/>
<id>urn:sha1:46f7f01092e6ac55e3e958dc3a2228b1d36e26a1</id>
<content type='text'>
Having this in the `tor-async-utils` crate prevents us from doing both
of the following without introducing a circular dependency:

* using it in `tor-rtmock` (which we currently do, particularly in
  tests).
* using `tor-rtmock` to test things in `tor-async-utils`. We don't do
  this yet, but it is generally sensible to do so. In particular we
  want to move the `stream_peak` module there, which is currently tested
  with `tor-rtmock`.

Moving this into its own crate avoids this circular dependency.
</content>
</entry>
<entry>
<title>flow-control: document idea for making more robust</title>
<updated>2024-08-21T21:53:08Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-08-21T21:44:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e5be938406282f67b26b063fd5051c3c671dc904'/>
<id>urn:sha1:e5be938406282f67b26b063fd5051c3c671dc904</id>
<content type='text'>
From
&lt;https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2340#note_3062531&gt;
</content>
</entry>
</feed>
