The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-net-reconnect.js @ 6f043940

History | View | Annotate | Download (2.74 KB)

# Date Author Comment
00efcb4c 01/25/2014 03:20 PM Fedor Indutny

net: reset `endEmitted` on reconnect

fix #6908

c1161202 02/28/2013 08:09 PM Ben Noordhuis

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...

695abba5 12/14/2012 01:52 PM isaacs

test: Fix many tests for streams2 net refactor

018e110c 10/14/2011 07:08 PM Ben Noordhuis

test: replace .addListener() calls with .on()

ede1acc1 07/05/2011 01:56 PM Ryan Dahl

Revert "Remove 'connect' event from server side sockets"

Fixes #1276

This reverts commit f0a440d886bf5d7f84203c0520b274dbe834a5da.

f0a440d8 05/24/2011 02:22 PM Felix Geisendörfer

Remove 'connect' event from server side sockets

Sockets emitted by the 'connection' event are always connected, having
them emit the 'connect' event makes no sense. It only confused people,
as it's not clear if you have to listen to 'connect' or not.

That try..catch block was also very scary. It would silently swallow...

55048cdf 03/14/2011 08:37 PM Ryan Dahl

Update copyright headers

0665f027 12/05/2010 06:41 PM Oleg Efimov

GJSLint all simple tests exclude http-*, url, path

0ce9cbab 12/05/2010 12:28 PM Oleg Efimov

GJSLint continue

a0159b4b 12/04/2010 06:58 PM Ryan Dahl

Fix global leaks

9fd5e3c8 07/15/2010 05:21 PM Ryan Dahl

Update tests to work with module contexts

ba792ea2 06/23/2010 11:05 PM Ryan Dahl

:%s/sys.puts/console.log/g

and there was much rejoicing

e0d30b54 06/18/2010 01:34 PM Micheil Smith

Renaming tcp tests to net tests