Files
node-v0.x-archive/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
..
2011-03-14 17:37:05 -07:00
2013-02-20 20:34:34 +01:00
2013-02-28 23:11:47 +01:00
2013-01-28 22:12:21 +01:00
2011-03-14 17:37:05 -07:00
2013-02-28 23:11:47 +01:00
2013-02-28 23:11:47 +01:00
2011-03-14 17:37:05 -07:00
2013-02-28 23:11:47 +01:00
2013-03-01 02:09:36 +01:00
2013-02-22 16:30:27 -08:00
2013-01-16 16:53:11 +01:00
2012-06-19 14:07:48 -07:00
2013-01-29 23:57:23 -08:00
2012-06-28 10:14:03 -07:00
2013-02-28 23:11:47 +01:00
2012-03-03 23:48:57 -08:00
2013-02-21 15:23:18 -08:00