<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src, branch arti-v1.3.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.3.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-10-22T13:06:32Z</updated>
<entry>
<title>Merge branch 'mq-fix' into 'main'</title>
<updated>2024-10-22T13:06:32Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2024-10-22T13:06:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2ceea6972e29fdf30187bb41207c0a3d77b0131d'/>
<id>urn:sha1:2ceea6972e29fdf30187bb41207c0a3d77b0131d</id>
<content type='text'>
memquota: Fix account lifetime bugs, and arrange to test mq in shadow

See merge request tpo/core/arti!2560</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>Merge branch 'test_create_hop_count_reinstate' into 'main'</title>
<updated>2024-10-21T16:21:27Z</updated>
<author>
<name>gabi-250</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-10-21T16:21:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6b737142ccd0f3c94e1ca22ac17f9c3107e9c47d'/>
<id>urn:sha1:6b737142ccd0f3c94e1ca22ac17f9c3107e9c47d</id>
<content type='text'>
tor-proto: Reinstate circuit hop check in test_create()

See merge request tpo/core/arti!2546</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>memquota: Fix circuit account lifetime (fmt)</title>
<updated>2024-10-21T10:11:20Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-21T10:09:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c017ccaf28fe1089ddd313fe0b874e6bc71546cd'/>
<id>urn:sha1:c017ccaf28fe1089ddd313fe0b874e6bc71546cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>memquota: Fix circuit account lifetime (clippy churn)</title>
<updated>2024-10-21T10:11:20Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-16T17:01:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0be7b09361f1820179f9ec1f6d995c773b726433'/>
<id>urn:sha1:0be7b09361f1820179f9ec1f6d995c773b726433</id>
<content type='text'>
Now that it doesn't call CircuitAccount::new() it has no error paths,
and clippy demands we remove the Result, so it must once again become
infallible.
</content>
</entry>
<entry>
<title>memquota: Fix circuit 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:08:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=09b80b32e316634324b0f99258df66773642da88'/>
<id>urn:sha1:09b80b32e316634324b0f99258df66773642da88</id>
<content type='text'>
We foolishly made *two* CircuitAccounts, one of which gets immediately
dropped.  But we need to hold onto the account somewhere, because an
mq_queue doesn't keep the account alive.

Otherwise everything breaks when mq tracking is enabled.
</content>
</entry>
<entry>
<title>Disable a lot of dead code warnings (fmt)</title>
<updated>2024-10-17T10:25:33Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-17T10:25:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=731adee5ad984dd1226eb917b20bb1380065aa09'/>
<id>urn:sha1:731adee5ad984dd1226eb917b20bb1380065aa09</id>
<content type='text'>
</content>
</entry>
</feed>
