<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-chanmgr/src, 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: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: 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: change `RequestCancelled` retry from `Never` to `Immediate`</title>
<updated>2024-11-21T18:35:57Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-11-21T18:29:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f6f33ef982263aa2db981e87a3657e35b9c0c730'/>
<id>urn:sha1:f6f33ef982263aa2db981e87a3657e35b9c0c730</id>
<content type='text'>
If the channel request was cancelled, we should be able to retry
immediately. Additionally, the `kind()` of `RequestCancelled` is
`TransientFailure`, and I don't think it make sense for a transient
error to return a `retry_time()` of `Never`.
</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: 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: `remove_pending` now takes a `PendingChannelHandle`</title>
<updated>2024-10-24T18:07:44Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-10-21T16:58:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5020d1502ed00e06017d6e9d1a1704dad36224f1'/>
<id>urn:sha1:5020d1502ed00e06017d6e9d1a1704dad36224f1</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>
</feed>
