0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal/streams
Robert Nagy 4a2bd69db9 stream: fix destroy() behavior
Ensure errorEmitted is always set. Only emit 'error' once.

PR-URL: https://github.com/nodejs/node/pull/29058
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2019-08-16 21:33:53 -07:00
..
async_iterator.js
buffer_list.js stream: improve read() performance further 2019-08-12 16:55:05 -07:00
destroy.js stream: fix destroy() behavior 2019-08-16 21:33:53 -07:00
duplexpair.js
end-of-stream.js
lazy_transform.js
legacy.js
pipeline.js
state.js http: buffer writes even while no socket assigned 2019-08-09 15:55:35 -07:00