node-fetch-server@0.13.3
📦 remixView on GitHub →
🐛 2 fixes
Summary
This patch release improves handling of client disconnections during streaming responses by ensuring cancellation hooks run and preventing errors from being written to closed sockets.
🐛 Bug Fixes
- Cancel unfinished streaming response bodies when the client connection closes before the response completes so user-provided ReadableStream.cancel() hooks run for aborted requests.
- Drop handler responses when the client has already disconnected, and do not forward request abort errors from handlers or response streams to onError or write them to a closed socket.