diff options
author | isaacs <i@izs.me> | 2013-02-24 22:14:30 -0800 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-02-26 18:54:05 -0800 |
commit | 86433979c6f33f78035011b3a4aa29c26b1e9c67 (patch) | |
tree | 2a920017eee4f121ee7185f7d4d5ffae97418b8d /deps/openssl/asm/x86-win32-masm/bf/bf-686.asm | |
parent | 586e160a258336663bdf7f063aae9602fe9e1dc9 (diff) | |
download | node-new-86433979c6f33f78035011b3a4aa29c26b1e9c67.tar.gz |
stream: Writables are not pipe()able
This handles the fact that stream.Writable inherits from the Stream class,
meaning that it has the legacy pipe() method. Override that with a pipe()
method that emits an error.
Ensure that Duplex streams ARE still pipe()able, however.
Since the 'readable' flag on streams is sometimes temporary, it's probably
better not to put too much weight on that. But if something is an instanceof
Writable, rather than of Readable or Duplex, then it's safe to say that
reading from it is the wrong thing to do.
Fix #3647
Diffstat (limited to 'deps/openssl/asm/x86-win32-masm/bf/bf-686.asm')
0 files changed, 0 insertions, 0 deletions