0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Andreas Madsen 2ae9b69871 fs: no end emit after createReadStream.pause()
In case a fd option is given to fs.createReadStream a read will instantly
happen. But in the edge case where fd point to an empty file and .pause()
was executed instantly, the end event would emit since no async wait was
between fs.createReadStream and the file read there emits end.

This is a cherry-pick of commit 1f3e4a7 into the v0.6 branch.
2012-05-29 15:34:01 +02:00
..
disabled enable test-fs-largefile.js test 2012-04-05 18:18:48 -07:00
fixtures crypto: add PKCS12/PFX support 2012-05-14 17:12:59 +02:00
gc 500 is a magic number for the GC for some reason 2012-05-11 15:01:38 -07:00
internet Tests: fix jslint issues 2012-01-17 19:45:09 +01:00
message Fix exception output for module load exceptions 2012-05-09 11:54:43 -07:00
pummel tls: mitigate session renegotiation attacks 2012-02-16 18:15:21 +01:00
simple fs: no end emit after createReadStream.pause() 2012-05-29 15:34:01 +02:00
CMakeLists.txt
common.js tests: fix more lint issues 2012-01-17 20:16:49 +01:00