Patch Changes
-
Cancel unfinished streaming response bodies when the client connection closes before the response completes so user-provided
ReadableStream.cancel()hooks run for aborted requests (see #11432). -
Drop handler responses when the client has already disconnected, and do not forward request abort errors from handlers or response streams to
onErroror write them to a closed socket (see #11431).