mirror of https://github.com/lukechilds/node.git
Browse Source
Calling end(data) calls write(data). Doing this after end should
raise a 'write after end' error.
However, because end() calls were previously ignored on already
ended streams, this error was confusingly suppressed, even though the
data never is written, and cannot get to the other side.
This is a re-hash of 5222d19a11
, but
without assuming that the data passed to end() is valid, and thus
breaking a bunch of tests.
v0.9.12-release
isaacs
12 years ago
2 changed files with 34 additions and 13 deletions
Loading…
Reference in new issue