Skip to content

Commit 6288737

Browse files
committed
chore(http): ignore errors after a stream was destroyed
1 parent 177ec26 commit 6288737

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/proxy/http.route.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,7 @@ function onerror(req, res, err) {
707707

708708
const errorIgnore = {
709709
'socket hang up': 'ignore',
710+
'Cannot call write after a stream was destroyed': 'ignore',
710711
'Cannot read property \'asyncReset\' of null': 'ignore',
711712
'Cannot read property \'resume\' of null': 'ignore',
712713
'write ECONNRESET': 'ignore',

0 commit comments

Comments
 (0)