<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-chanmgr/src/mgr.rs, 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-11-27T19:11:58Z</updated>
<entry>
<title>tor-chanmgr: remove immediately awaited async block expression</title>
<updated>2024-11-27T19:11:58Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-11-26T20:17:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=278a678c1f3cd36bdc805df439f01cde6dfa02f6'/>
<id>urn:sha1:278a678c1f3cd36bdc805df439f01cde6dfa02f6</id>
<content type='text'>
This shouldn't be needed anymore now that we use a `Defer`.
</content>
</entry>
<entry>
<title>tor-chanmgr: use `Defer` in `AbstractChanMgr` to handle cancellations</title>
<updated>2024-11-27T19:10:41Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-11-26T20:13:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=935176f245e711fe270d86010c310e6c0a0410c4'/>
<id>urn:sha1:935176f245e711fe270d86010c310e6c0a0410c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-chanmgr: remove panics in debug builds</title>
<updated>2024-11-12T01:27:27Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-11-12T01:23:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cad2a7288bfb71b456e1f7690349cf721c421872'/>
<id>urn:sha1:cad2a7288bfb71b456e1f7690349cf721c421872</id>
<content type='text'>
These were supposed to fail loudly in debug builds by panicking, but
panics are mostly useless for debugging in async applications that use a
runtime which catches panics. So we'll just log the error instead.
</content>
</entry>
<entry>
<title>tor-chanmgr: rename `replace_pending_channel` to `upgrade_pending_channel_to_open`</title>
<updated>2024-10-24T18:08:19Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-10-21T17:02:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aba584022de282cba738fd57ef80f335f2f15b34'/>
<id>urn:sha1:aba584022de282cba738fd57ef80f335f2f15b34</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-chanmgr: improve cleanup procedure of pending channels</title>
<updated>2024-10-24T18:07:44Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-10-21T15:36:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d1e90447a24460d4991033c198bedff20dc855c4'/>
<id>urn:sha1:d1e90447a24460d4991033c198bedff20dc855c4</id>
<content type='text'>
An attempt to make sure that there are no code paths which forget to
remove a pending channel from the channel map.

This also adds error-level log messages and panics during debug builds
if a `PendingChannelHandle` is dropped without properly passing it to
`MgrState::remove_pending_channel` or
`MgrState::replace_pending_channel`.
</content>
</entry>
<entry>
<title>Revert "tor-chanmgr: `PendingChannelHandle` removes the channel when dropped"</title>
<updated>2024-10-21T15:40:41Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-10-21T15:32:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=90083e81fad3c6497a43d6a1f1fb4f1bc3c378e4'/>
<id>urn:sha1:90083e81fad3c6497a43d6a1f1fb4f1bc3c378e4</id>
<content type='text'>
This reverts commit f85bc3cf849109aaa2c4da9fc8c06e7173a0543f.

There were some small conflcits in
`AbstractChanMgr::get_or_launch_internal`, so this wasn't a clean
revert.
</content>
</entry>
<entry>
<title>tor-chanmgr: remove `handle_build_outcome`</title>
<updated>2024-10-15T18:01:24Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-10-15T14:46:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=af944b03f595057ce51d67184f185ac0cc30836b'/>
<id>urn:sha1:af944b03f595057ce51d67184f185ac0cc30836b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-chanmgr: `PendingChannelHandle` removes the channel when dropped</title>
<updated>2024-10-15T14:50:09Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-10-15T14:46:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f85bc3cf849109aaa2c4da9fc8c06e7173a0543f'/>
<id>urn:sha1:f85bc3cf849109aaa2c4da9fc8c06e7173a0543f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-chanmgr: added `PendingChannelHandle`</title>
<updated>2024-10-15T14:50:09Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-10-15T14:46:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e7ee3ee55468b7e9aca990c5483b26bf24babe77'/>
<id>urn:sha1:e7ee3ee55468b7e9aca990c5483b26bf24babe77</id>
<content type='text'>
This handle contains all of the details required to remove or replace a
pending channel entry from the channel map.
</content>
</entry>
<entry>
<title>tor-chanmgr: refactor so we don't need `with_channels{,_and_params}`</title>
<updated>2024-10-15T14:50:09Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-10-15T14:46:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ca057e6f604096e0413768576a24b8db5cdcc2b2'/>
<id>urn:sha1:ca057e6f604096e0413768576a24b8db5cdcc2b2</id>
<content type='text'>
These methods on `MgrState` acquire a lock, and it's easy for calling
code to also try to acquire the same lock within the closure, causing a
deadlock. It's better to not expose these methods.
</content>
</entry>
</feed>
