make a note to improve stream timeout error handling

This commit is contained in:
ansuz 2020-10-22 11:24:58 +05:30
parent 67430de7ff
commit d72e053560

View File

@ -105,6 +105,9 @@ in the meantime. Used to prevent file descriptor leaks in the case of
abandoned streams while closing streams which are being read very very
slowly.
XXX inform the stream consumer when it has been closed prematurely
by calling back with a TIMEOUT error or something
*/
const createIdleStreamCollector = function (stream) {
// create a function to close the stream which takes no arguments