node/lib
Ben Noordhuis c11612026f net: omit superfluous 'connect' event
Don't emit a 'connect' event on sockets that are handed off to
net.Server 'connection' event listeners.

1. It's superfluous because the connection has already been established
   at that point.

2. The implementation is arguably wrong because the event is emitted on
   the same tick of the event loop while the rule of thumb is to always
   emit it on the next one.

This has been tried before in commit f0a440d but was reverted again in
ede1acc because the change was incomplete (at least one test hadn't
been updated).

Fixes #1047 (again).
2013-03-01 02:09:36 +01:00
..
_debugger.js streams2: Call read(0) on resume() 2012-12-14 10:52:28 -08:00
_linklist.js Update copyright headers 2011-03-14 17:37:05 -07:00
_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 stream: Do not switch to objectMode implicitly 2013-02-25 07:38:10 -08:00
_stream_transform.js stream: Start out in sync=true state 2013-02-25 07:38:10 -08:00
_stream_writable.js stream: Writables are not pipe()able 2013-02-26 18:54:05 -08:00
assert.js assert: improve support for new execution contexts 2012-12-29 11:19:14 -08:00
buffer.js buffer: check logic simplification 2013-02-20 20:34:34 +01:00
child_process.js lib, src: remove errno global 2013-02-28 23:11:47 +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 Update copyright headers 2011-03-14 17:37:05 -07:00
crypto.js crypto: fix base64 padding regression 2013-02-25 15:21:52 +01:00
dgram.js lib, src: remove errno global 2013-02-28 23:11:47 +01:00
dns.js lib, src: remove errno global 2013-02-28 23:11:47 +01:00
domain.js process: separate nextTick domain logic 2013-02-27 16:37:10 -08:00
events.js Revert "events: Don't crash on events named __proto__" 2013-01-17 13:20:22 -08:00
freelist.js Update copyright headers 2011-03-14 17:37:05 -07:00
fs.js lib, src: remove errno global 2013-02-28 23:11:47 +01:00
http.js Merge remote-tracking branch 'origin/v0.8' 2013-02-28 16:58:24 +01:00
https.js https: optimize https.createConnection() 2012-12-28 16:42:51 +01:00
module.js core: Remove the nextTick for running the main file 2013-02-27 16:29:36 -08:00
net.js net: omit superfluous 'connect' event 2013-03-01 02:09:36 +01:00
os.js os: rename tmpDir() to tmpdir() for consistency 2013-01-30 04:24:58 +01:00
path.js lint 2013-02-22 16:30:27 -08: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 timer: move setImmediate from timer to uv_check 2013-02-15 16:11:05 -08:00
tls.js tls: _handle.readStart/readStop for CryptoStream 2013-02-21 23:29:18 +04:00
tty.js lib, src: remove errno global 2013-02-28 23:11:47 +01: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 stream: remove lowWaterMark feature 2013-02-21 15:23:18 -08:00