<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-chanmgr/src/lib.rs, 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-11-27T19:09:22Z</updated>
<entry>
<title>tor-chanmgr: add `util::defer` module</title>
<updated>2024-11-27T19:09:22Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-11-26T20:11:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d9c150b4a604ad23b98be82b00f718720265e11a'/>
<id>urn:sha1:d9c150b4a604ad23b98be82b00f718720265e11a</id>
<content type='text'>
This contains the `Defer` type, which can be used to defer a closure
until the `Defer` is dropped.
</content>
</entry>
<entry>
<title>tor-chanmgr: fix reconfigure bug when given `CheckAllOrNothing`</title>
<updated>2024-11-12T23:48:36Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-11-05T22:00:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d7de30057914067faeee2bf8619661f11f3ad086'/>
<id>urn:sha1:d7de30057914067faeee2bf8619661f11f3ad086</id>
<content type='text'>
We shouldn't actually reconfigure anything if given `CheckAllOrNothing`.
</content>
</entry>
<entry>
<title>tor-chanmgr: fix `unused_imports` warning on `ChannelAccount`</title>
<updated>2024-10-09T21:50:55Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-10-09T20:15:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=341ea150097943ee364a9108e8ec4a67e330e635'/>
<id>urn:sha1:341ea150097943ee364a9108e8ec4a67e330e635</id>
<content type='text'>
</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>memquota: Add a toplevel account in tor-chanmgr</title>
<updated>2024-10-03T14:10:35Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-02T14:57:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=96b432f5b6c11bd6cdf927b4231b7161b2132ab1'/>
<id>urn:sha1:96b432f5b6c11bd6cdf927b4231b7161b2132ab1</id>
<content type='text'>
Plumb through a top-level account.  This doesn't have any
channel-specific, circuit-specific or stream-specific accounts yet.

tor-circmgr's and tor-hsclient's *tests* need fake account.

In arti-relay, use a dummy account for now.
</content>
</entry>
<entry>
<title>memquota: Add a toplevel account in tor-chanmgr (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-02T14:56:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=19f1f07ed26749a9b6e8ce72a6f30ba469c5d831'/>
<id>urn:sha1:19f1f07ed26749a9b6e8ce72a6f30ba469c5d831</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Reformat a doc comment</title>
<updated>2024-09-26T19:48:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-24T11:05:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=44f800510e378a4cec454ac4f340a4293697bb7b'/>
<id>urn:sha1:44f800510e378a4cec454ac4f340a4293697bb7b</id>
<content type='text'>
Make it have a summary line of only reasonable size.

While we're here, wrap the body with semantic linefeeds.
</content>
</entry>
<entry>
<title>rtcompat: Rename TcpProvider to NetStreamProvider.</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-19T11:55:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8c2d84000e4d5ba74e7b6b4e9dac3fc700f618b5'/>
<id>urn:sha1:8c2d84000e4d5ba74e7b6b4e9dac3fc700f618b5</id>
<content type='text'>
(And similarly rename TcpListener to NetStreamListener,
along with their TcpStream/TcpListener associated types.)

These types are about to become generic over addresses,
and therefore shouldn't be named after TCP.

Renaming was done mostly with Rust Analyzer,
except for some macros that needed to be hand-edited.

(I'll revise the comments in the next commit;
this one is all about renaming.)
</content>
</entry>
<entry>
<title>tor-chanmgr: add experimental `ChanMgr::handle_incoming`</title>
<updated>2024-09-11T18:15:16Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-09-04T14:38:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6dda7fc80834962d9485b8d92f63feacbcad4be8'/>
<id>urn:sha1:6dda7fc80834962d9485b8d92f63feacbcad4be8</id>
<content type='text'>
The channel manager in the future will need to be able to receive
incoming streams. The type of the stream depends on an associated type
within `ChannelFactory`, so this commit exposes this associated type
through several other types, eventually to the `ChanMgr`.

The new methods are behind the experimental "relay" feature flag.
</content>
</entry>
</feed>
