Skip to content

Cancel Moat requests when no longer needed

In TorConnect we stop waiting for a Moat request if a user cancels the bootstrap. But the background request will still proceed and try and complete.

However, the channel created in DomainFrontedRequest could be cancelled to avoid continuing the fetch.

I'll also take a look at some of the other Moat consumers to do a similar thing.

/cc @pierov

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information