0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/pummel
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
..
pummel.status
test-buffer-big.js
test-child-process-spawn-loop.js
test-crypto-dh.js
test-debugger-debug-brk.js
test-dh-regr.js
test-dtrace-jsstack.js
test-exec.js
test-fs-largefile.js
test-fs-watch-file-slow.js
test-fs-watch-file.js
test-http-client-reconnect-bug.js
test-http-upload-timeout.js
test-https-ci-reneg-attack.js
test-https-large-response.js
test-keep-alive.js
test-net-connect-econnrefused.js
test-net-connect-memleak.js
test-net-many-clients.js
test-net-pause.js
test-net-pingpong-delay.js
test-net-pingpong.js
test-net-throttle.js net: omit superfluous 'connect' event 2013-03-01 02:09:36 +01:00
test-net-timeout2.js
test-net-timeout.js
test-net-write-callbacks.js
test-next-tick-loops-quick.js
test-postmortem-findjsobjects.js
test-postmortem-jsstack.js
test-process-hrtime.js
test-process-uptime.js
test-regress-GH-814_2.js
test-regress-GH-814.js
test-regress-GH-892.js Remove separation of libuv tests 2011-11-02 16:38:59 -07:00
test-timer-wrap2.js
test-timer-wrap.js
test-timers.js
test-tls-ci-reneg-attack.js
test-tls-connect-memleak.js
test-tls-throttle.js
test-vm-memleak.js
test-watch-file.js
testcfg.py