Files
node/lib
Philipp Dunkel 13ea0579da zlib: do not hang archiving a FIFO or device
zipFiles() opened each source before fstat-ing it, so open() on a FIFO
(or a slow/blocking device) blocked indefinitely - the regular-file
guard ran too late to prevent it, and each stuck open pinned a libuv
threadpool thread. Open with O_NONBLOCK so the open returns promptly and
the fstat can reject anything that is not a regular file; O_NONBLOCK has
no effect on a regular file's subsequent reads.

Signed-off-by: Philipp Dunkel <pip@pipobscure.com>
PR-URL: https://github.com/nodejs/node/pull/65016
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2026-08-14 03:39:44 +00:00
..
…
…
…
2026-07-05 08:04:44 +00:00
…
…
2026-08-06 09:25:51 +00:00
2026-04-05 10:12:21 +00:00
2026-06-21 19:42:03 +00:00
2026-05-31 12:49:51 -07:00
2026-08-13 15:25:11 +00:00
…
…
…
…
2026-07-25 23:56:46 -07:00
…
2026-02-21 16:30:23 +00:00
…
…
2026-04-01 10:09:41 +00:00
…
2026-04-26 19:36:36 +00:00
2026-05-23 18:43:31 +00:00