diff options
author | Alejandro Oviedo <alejandro.oviedo.g@gmail.com> | 2014-12-12 13:03:13 -0300 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2014-12-14 20:06:46 +0100 |
commit | 524882faca28955aa5ef2a6194aab3895b0498b6 (patch) | |
tree | 98003f408c64e4f7291c3993a03d8e2b29159da5 /test/simple/test-cluster-master-kill.js | |
parent | db595b2de6933bfda5a1371fc84d14bc9b8a37dd (diff) | |
download | node-new-524882faca28955aa5ef2a6194aab3895b0498b6.tar.gz |
doc: change write() after end() streams example
Currently there's an example using http.ServerResponse stream, which
has a known bug and will not throw an error while writing after end().
Changed to a writable stream from fs which behaves as expected.
Fixes https://github.com/joyent/node/issues/8814.
PR-URL: https://github.com/iojs/io.js/pull/155
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Brendan Ashworth <squirrelslikeacorns@gmail.com>
Diffstat (limited to 'test/simple/test-cluster-master-kill.js')
0 files changed, 0 insertions, 0 deletions