braid-http 1.3.93 → 1.3.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/braid-http-server.js +1 -0
- package/package.json +1 -1
package/braid-http-server.js
CHANGED
|
@@ -432,6 +432,7 @@ function braidify (req, res, next) {
|
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
434
|
var mw = new MultiplexedWritable(m, request)
|
|
435
|
+
mw.on('error', () => {}) // EPIPE when client disconnects mid-stream
|
|
435
436
|
|
|
436
437
|
// then we create a fake server response,
|
|
437
438
|
// that pipes data to our fake socket
|