<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/channel.rs, 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-21T10:11:20Z</updated>
<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>Apply deferred rustfmt churn</title>
<updated>2024-10-09T17:21:09Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-09T17:21:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fafe03628c3a6f670b052cfa8ac782843d72ea1a'/>
<id>urn:sha1:fafe03628c3a6f670b052cfa8ac782843d72ea1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>memquota: Use an mq_queue for channel-&gt;circuit RX queue</title>
<updated>2024-10-09T17:19:41Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-09T16:45:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bfa67c34da9357e412758507c312c6b92c2f3133'/>
<id>urn:sha1:bfa67c34da9357e412758507c312c6b92c2f3133</id>
<content type='text'>
Fixes #1682.

(This involves some noise in the tests.)
</content>
</entry>
<entry>
<title>memquota: Add docs and TODOs re inbound channel-&gt;circuit data</title>
<updated>2024-10-09T15:59:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-09T15:59:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b7090adb7bc52a886aa4805816e1ddb3d9100e34'/>
<id>urn:sha1:b7090adb7bc52a886aa4805816e1ddb3d9100e34</id>
<content type='text'>
See
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2509#note_3089913
</content>
</entry>
<entry>
<title>tor-proto: Remove the no-longer needed allows</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:52:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=92d311f0bb91f4e3a52c1f567f96d8bd8c66d66f'/>
<id>urn:sha1:92d311f0bb91f4e3a52c1f567f96d8bd8c66d66f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: channel: Provide time_provider accessors</title>
<updated>2024-10-03T14:10:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-26T16:06:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9b8d73db07679e1245acd04d4d7bac1ce76ce255'/>
<id>urn:sha1:9b8d73db07679e1245acd04d4d7bac1ce76ce255</id>
<content type='text'>
This will save circuits etc. keeping their own clone of the time provider.
</content>
</entry>
<entry>
<title>tor-proto: Make circuit-&gt;channel queues participate in memquota</title>
<updated>2024-10-03T14:10:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-24T11:12:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=39935609efa1feb7512af8cf401865b90ffed786'/>
<id>urn:sha1:39935609efa1feb7512af8cf401865b90ffed786</id>
<content type='text'>
We use the *channel*'s memquota account.  This is arguably wrong, but
it's hard to get right now.  See #1652.

Change the type of the queue, and the places it's constructed.
The use sites can all stay the same.
</content>
</entry>
<entry>
<title>tor-proto: Introduce a fake_mpsc helper for channel tests</title>
<updated>2024-10-03T14:10:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-24T10:44:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2ca7e42a76653b6bfa1cb9f4219a259122cbb8c4'/>
<id>urn:sha1:2ca7e42a76653b6bfa1cb9f4219a259122cbb8c4</id>
<content type='text'>
This provides a nice place to change in the tests, when we want to
change the way the queue is made.
</content>
</entry>
</feed>
