Handle ERR_STREAM_UNABLE_TO_PIPE alongside ERR_STREAM_PREMATURE_CLOSE (#31174)

GitOrigin-RevId: bbf49237b177d7a58a9b13efc6f38f5eecfb745c
This commit is contained in:
Anna Claire Fields
2026-02-03 09:05:50 +00:00
committed by Copybot
parent a591f2eb7a
commit ee4b5f515c
8 changed files with 29 additions and 8 deletions
+1
View File
@@ -291,6 +291,7 @@ if (Settings.shutdownDrainTimeWindow) {
'EPIPE',
'ECONNRESET',
'ERR_STREAM_WRITE_AFTER_END',
'ERR_STREAM_UNABLE_TO_PIPE',
].includes(error.code) ||
// socket.io error handler sending on polling connection again.
(error.code === 'ERR_HTTP_HEADERS_SENT' &&