0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Ben Noordhuis 14a4245051 net: don't suppress ECONNRESET
Let ECONNRESET network errors bubble up so clients can detect them.

Commit c4454d2e suppressed and turned them into regular end-of-stream
events to fix the then-failing simple/test-regress-GH-1531 test. See
also issue #1571 for (scant) details.

It turns out that special handling is no longer necessary. Remove the
special casing and let the error bubble up naturally.

pummel/test-https-ci-reneg-attack and pummel/test-tls-ci-reneg-attack
are updated because they expected an EPIPE error code that is now an
ECONNRESET. Suppression of the ECONNRESET prevented the test from
detecting that the connection has been severed whereupon the next
write would fail with an EPIPE.

Fixes #1776.
2013-02-11 12:31:21 -08:00
..
_debugger.js streams2: Call read(0) on resume() 2012-12-14 10:52:28 -08:00
_linklist.js
_stream_duplex.js stdio: Set readable/writable flags properly 2013-01-17 10:42:44 -08:00
_stream_passthrough.js streams2: ctor guards on Stream classes 2012-12-13 17:00:26 -08:00
_stream_readable.js streams: both finish and close should unpipe 2013-02-06 20:38:20 +04:00
_stream_transform.js stream: Correct Transform class backpressure 2013-01-28 08:40:45 -08:00
_stream_writable.js stream: Writable should ignore encoding for buffers 2013-02-07 08:50:18 -08:00
assert.js assert: improve support for new execution contexts 2012-12-29 11:19:14 -08:00
buffer.js buffer: optimize Buffer.prototype.write(s, 'hex') 2013-02-02 01:01:42 +01:00
child_process.js cluster: support datagram sockets 2013-01-28 22:12:21 +01:00
cluster.js cluster: support datagram sockets 2013-01-28 22:12:21 +01:00
console.js console: Support formatting options in trace() 2013-01-18 15:39:08 -08:00
constants.js
crypto.js crypto: Streaming interface for Sign and Verify 2012-12-14 10:52:27 -08:00
dgram.js dgram: avoid EventEmitter leak warning 2013-01-28 22:19:02 +01:00
dns.js dns: make error message match errno 2013-01-18 12:13:32 +01:00
domain.js domain: use camelCase instead of snake_case 2012-12-29 10:37:31 -08:00
events.js Revert "events: Don't crash on events named __proto__" 2013-01-17 13:20:22 -08:00
freelist.js
fs.js fs: fix immediate WriteStream#end() 2013-02-11 21:15:13 +01:00
http.js http: Don't dump twice 2013-01-28 08:54:08 -08:00
https.js https: optimize https.createConnection() 2012-12-28 16:42:51 +01:00
module.js addon: Pass module object to NODE_MODULE init function 2013-01-25 14:25:35 -08:00
net.js net: don't suppress ECONNRESET 2013-02-11 12:31:21 -08:00
os.js os: rename tmpDir() to tmpdir() for consistency 2013-01-30 04:24:58 +01:00
path.js path: make basename and extname ignore trailing slashes 2013-01-11 18:50:09 +01:00
punycode.js punycode: update to v1.2.0 2013-01-16 16:53:11 +01:00
querystring.js trivial: Doc typo and lint fix 2012-06-19 14:07:48 -07:00
readline.js lint 2013-01-29 23:57:23 -08:00
repl.js repl: fix how to module requiring in code comment 2013-01-16 10:59:22 -08:00
stream.js streams2: The new stream base classes 2012-12-13 17:00:23 -08:00
string_decoder.js Don't allow invalid encodings in StringDecoder class 2012-12-13 17:00:22 -08:00
sys.js Fix #3577 Un-break require('sys') 2012-06-28 10:14:03 -07:00
timers.js timers: Move list.ontimeout to separate function 2012-12-29 15:32:25 -08:00
tls.js tls: port CryptoStream to streams2 2013-02-06 23:23:54 +04:00
tty.js stdio: Do not read from stdout/err 2012-12-21 11:05:46 -08:00
url.js url: make url.format escape delimiters in path and query 2012-10-30 09:16:13 -07:00
util.js util: fix deprecation message in util.pump 2012-12-26 14:54:56 -08:00
vm.js lint 2012-03-03 23:48:57 -08:00
zlib.js Merge remote-tracking branch 'ry/v0.8' into master 2013-02-06 16:29:30 -08:00