Re: [whatwg/fetch] aborting locked request body (#1286)

The problem I see here is that in:

> 10. Add the following abort steps to requestObject’s signal:
>.  1. Set locallyAborted to true.
>   2. Abort fetch with p, request, and responseObject.
>   3. Terminate the ongoing fetch with the aborted flag set.

We abort fetch before terminating fetch. If we did this in the opposite order then terminate could release the lock so that cancelling the body doesn't throw.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1286#issuecomment-896214501

Received on Tuesday, 10 August 2021 18:23:47 UTC