<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/channel, branch arti-v1.3.2</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.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-12-10T19:15:16Z</updated>
<entry>
<title>tor-proto: replace `Channel`s "closed" state handling</title>
<updated>2024-12-10T19:15:16Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-11-26T02:54:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=09d7bce115179c3b7c4cb55cd1e0127fbe9e9929'/>
<id>urn:sha1:09d7bce115179c3b7c4cb55cd1e0127fbe9e9929</id>
<content type='text'>
Previously `Channel` had two concepts of "closed". There was an atomic
flag that was set to `true` at the end `Reactor::run`, and an
experimental oneshot channel where the sender was dropped when the
reactor was dropped.

This commit consolidates these two using the `oneshot_broadcast` module.
This means that the behaviour is consistent between both "closed"
statuses (`is_closing()` and `wait_for_close()`). A channel is
considered closed when its reactor is dropped.

This also helps progress towards making the channel reactor cancellation
safe (see arti#1756).
</content>
</entry>
<entry>
<title>tor-proto: Specify which of the 2 senders is used for sending cells.</title>
<updated>2024-11-20T10:53:24Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-11-19T10:52:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0839b034d3fa28f7184dd7fae8ef866220cb7ecd'/>
<id>urn:sha1:0839b034d3fa28f7184dd7fae8ef866220cb7ecd</id>
<content type='text'>
</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: Introduce type aliases for channel-&gt;circuit RX queue</title>
<updated>2024-10-09T17:19:38Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-09T16:43:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6fd94b3d2547d54aa4e9bf5282f72064c6a6ef3f'/>
<id>urn:sha1:6fd94b3d2547d54aa4e9bf5282f72064c6a6ef3f</id>
<content type='text'>
This is neater and will make changing the type (in a moment) less
noisy.
</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: Plumb the ChannelAccount through to queue creation site</title>
<updated>2024-10-03T14:10:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-02T16:24:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=939d291ed3792a5fd1392f4e2816de254ac1bc12'/>
<id>urn:sha1:939d291ed3792a5fd1392f4e2816de254ac1bc12</id>
<content type='text'>
This gets it as far as the outbound circuit-&gt;channel mpsc queue creation.
Also, we provide an accessor for it.
</content>
</entry>
<entry>
<title>tor-proto: Plumb the ChannelAccount through to queue creation site (pre-fmt)</title>
<updated>2024-10-03T14:10:35Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-02T15:32:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=17f55b3302cb254506f0ce2a3421211b55eb5bc4'/>
<id>urn:sha1:17f55b3302cb254506f0ce2a3421211b55eb5bc4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: channel: Make construction fallible</title>
<updated>2024-10-03T14:10:35Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-23T10:19:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1861de6a00edd99c4354fc3b2eaaf88fec2d4fe6'/>
<id>urn:sha1:1861de6a00edd99c4354fc3b2eaaf88fec2d4fe6</id>
<content type='text'>
Making a channel is going to involve making a memquota Participant,
which can fail.
</content>
</entry>
<entry>
<title>tor-proto: Add a CoarseTimeProvider bound to all the SleepProviders (fmt)</title>
<updated>2024-10-01T18:05:25Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-01T17:43:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=88d6f90b13fd8d0ddb538f833ff9531f8d308047'/>
<id>urn:sha1:88d6f90b13fd8d0ddb538f833ff9531f8d308047</id>
<content type='text'>
</content>
</entry>
</feed>
