-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
After migrating from node.js v10.24.1 to v16.14.2, encountered some weird behaviour: different applications report connection troubles, something like no buffer space available. Also my application which uses Server Sent Events (SSE) stopped detect SSE channel disconnects (which is proxied under the hood).
The workaround looks like:
onProxyReq: (proxyReq, req, res) => {
proxyReq.on('close', () => res.end());
}Some more context:
macOS,nvm 0.39.1,create-react-app,http-proxy-middleware 2.0.6,http-proxy 1.17.8.
Metadata
Metadata
Assignees
Labels
No labels