Skip to content
RED SAG Skills
hard20 pts · first answer countsapi-designnodejsstreams

File descriptors leak during downloads

A download route uses fs.createReadStream(path).pipe(res). When clients disconnect mid-download, open file handles slowly build up. What is the fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions