0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +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 buffer: throw from constructor if length > kMaxLength 2012-03-09 23:57:03 +01:00
test-child-process-spawn-loop.js test-child-process-spawn-loop: make it pass on Windows. 2012-06-13 22:12:30 +02:00
test-crypto-dh.js test: fix pummel/test-crypto-dh, pummel/test-dh-regr 2012-10-24 15:37:34 +02:00
test-debugger-debug-brk.js
test-dh-regr.js test: fix pummel/test-crypto-dh, pummel/test-dh-regr 2012-10-24 15:37:34 +02:00
test-dtrace-jsstack.js test: add tests for postmortem and DTrace support 2012-09-21 01:51:57 +02:00
test-exec.js test-exec: make it work on Windows 2012-06-12 23:30:54 +02:00
test-fs-largefile.js Move test-fs-largefile into pummel 2012-05-05 15:05:14 -07:00
test-fs-watch-file-slow.js test: add another fs.watchFile() test 2012-06-21 02:50:13 +02:00
test-fs-watch-file.js test: make test-fs-watch-file write to tmp dir 2012-07-09 15:48:43 +02:00
test-http-client-reconnect-bug.js
test-http-upload-timeout.js test: 2 resume() calls needed to flush streams 2012-12-19 10:55:23 -08:00
test-https-ci-reneg-attack.js net: don't suppress ECONNRESET 2013-02-11 12:31:21 -08:00
test-https-large-response.js test: set rejectUnauthorized in tls/https tests 2012-09-15 00:19:30 +02:00
test-keep-alive.js
test-net-connect-econnrefused.js test: fix pummel/test-net-connect-econnrefused 2012-08-09 01:02:48 +02:00
test-net-connect-memleak.js test: fix pummel test out-of-memory errors 2013-01-27 22:01:14 +01:00
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: use common.PORT in pummel/test-net-timeout2 2012-08-17 14:03:26 +02:00
test-net-timeout.js
test-net-write-callbacks.js test-pummel: Add call validation in net-write-callbacks 2012-12-19 10:55:23 -08:00
test-next-tick-loops-quick.js
test-postmortem-findjsobjects.js test: add tests for postmortem and DTrace support 2012-09-21 01:51:57 +02:00
test-postmortem-jsstack.js test: add tests for postmortem and DTrace support 2012-09-21 01:51:57 +02:00
test-process-hrtime.js process: add process.hrtime() 2012-03-06 20:43:55 +01:00
test-process-uptime.js
test-regress-GH-814_2.js
test-regress-GH-814.js
test-regress-GH-892.js
test-timer-wrap2.js
test-timer-wrap.js
test-timers.js
test-tls-ci-reneg-attack.js net: don't suppress ECONNRESET 2013-02-11 12:31:21 -08:00
test-tls-connect-memleak.js test: fix pummel test out-of-memory errors 2013-01-27 22:01:14 +01:00
test-tls-throttle.js test: set rejectUnauthorized in tls/https tests 2012-09-15 00:19:30 +02:00
test-vm-memleak.js
test-watch-file.js fs: make fs.watchFile() work on windows 2012-06-21 03:05:18 +02:00
testcfg.py