<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-chanmgr/src/mgr.rs, branch arti-v1.1.6</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-01-27T13:28:02Z</updated>
<entry>
<title>Allow clippy::unchecked_duration_subtraction in tests</title>
<updated>2023-01-27T13:28:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T13:01:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6dd92843edf2bd4c58de62a0d562921e4191ada'/>
<id>urn:sha1:a6dd92843edf2bd4c58de62a0d562921e4191ada</id>
<content type='text'>
This panics on error, and we're fine with a panic on misbehavior in
tests.
</content>
</entry>
<entry>
<title>test lint blocks: Add many many automatically</title>
<updated>2022-12-12T18:00:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-12-12T17:58:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=125a455bdcca841931f33f83f206e57637ae85c4'/>
<id>urn:sha1:125a455bdcca841931f33f83f206e57637ae85c4</id>
<content type='text'>
This is precisely the result of running the rune in
maint/adhoc-add-lint-blocks.
</content>
</entry>
<entry>
<title>chanmgr: remove a now-stale TODO.</title>
<updated>2022-11-29T16:15:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-29T16:15:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c6aa587dc8d105729da6081351206aaf8fd767c4'/>
<id>urn:sha1:c6aa587dc8d105729da6081351206aaf8fd767c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-chanmgr: Introduce the BootstrapReporter API, publicize ChanBuilder</title>
<updated>2022-11-28T18:52:21Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-11-28T15:32:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a3c9fc5b1aa9f1072448fdea336f561b71ce1176'/>
<id>urn:sha1:a3c9fc5b1aa9f1072448fdea336f561b71ce1176</id>
<content type='text'>
This commit makes the `ChanBuilder` type in `tor-chanmgr` usable by
consumers outside of that crate, like the doc comment for
`ChannelFactory` says you need to be able to do in order to turn your
`TransportHelper` into something useful.

As part of doing this, the `event_sender` its constructor takes needed
to be dealt with, since it was a crate-internal type that came from
inside the `ChanMgr`.

Enter `BootstrapReporter`: an opaque wrapper around that sender, now
provided as an additional argument to
`ChannelFactory::connect_via_transport`. You can now construct a
`ChanBuilder` outside this crate, and it'll still be able to report its
bootstrap status by unwrapping this new type that's threaded through
from the `ChanMgr`. (This was a fair deal of manually threading the type
through all the layers in this crate!)

Note that you cannot implement bootstrap updating using something that
isn't `ChanBuilder` yet due to the type being entirely opaque (but, of
course, we can figure out exactly what API the reporter should have
later, and add that capability in).
</content>
</entry>
<entry>
<title>ChanMgr: Fix a few more conditional-compilation issues</title>
<updated>2022-11-23T16:10:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-23T16:01:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1249bedbb0d58c9c4f11c0e9bd589ea5587e47f8'/>
<id>urn:sha1:1249bedbb0d58c9c4f11c0e9bd589ea5587e47f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ChanMgr: Implement functions that replace channel factories.</title>
<updated>2022-11-23T16:10:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-22T20:07:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc1de60d6d31b2c01262398741757113636dd4bc'/>
<id>urn:sha1:bc1de60d6d31b2c01262398741757113636dd4bc</id>
<content type='text'>
This commit makes it possible to replace the default channel factory
(used when there is no PtMgr), and to replace the PtMgr.

This is part of #659.
</content>
</entry>
<entry>
<title>ChanMgr: move the AbstractChanFactory into MgrState.</title>
<updated>2022-11-22T19:41:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-22T19:38:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a688e4afc9aa6e4273617eef21dd73bf8aabc329'/>
<id>urn:sha1:a688e4afc9aa6e4273617eef21dd73bf8aabc329</id>
<content type='text'>
We will want the freedom to replace this, so it needs to go behind a
lock. We need to be able to Clone it cheaply now, so we're using an
Arc instead of a Box.
</content>
</entry>
<entry>
<title>chanmgr::mgr::*: misc spelling fixes and normali[sz]ations</title>
<updated>2022-11-16T17:05:20Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-16T17:05:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b466e242352bd445fc68cf62883de06625c9be3e'/>
<id>urn:sha1:b466e242352bd445fc68cf62883de06625c9be3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix up documentation that referred to a ChannelMap.</title>
<updated>2022-11-16T17:02:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-16T17:02:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=53c401af651e35050b1fc741b2c80791284ba993'/>
<id>urn:sha1:53c401af651e35050b1fc741b2c80791284ba993</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ChanMgr: Rename map.rs to state.rs</title>
<updated>2022-11-16T16:46:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-16T16:46:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5804f0f350c27779333e2d66e9efe027445a093e'/>
<id>urn:sha1:5804f0f350c27779333e2d66e9efe027445a093e</id>
<content type='text'>
This is another pure renaming.
</content>
</entry>
</feed>
