0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Evan Lucas 503b089dd8 net: don't throw on immediately destroyed socket
Fixes regression introduced in af249fa8a1.

With connect being deferred to the next tick, Socket.destroy could be
called before connect. Socket.destroy sets _connecting to false which
would cause an assertion error.

Fixes: https://github.com/nodejs/io.js/issues/2250
PR-URL: https://github.com/nodejs/io.js/pull/2251
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2015-07-27 16:23:21 -05:00
..
addons test: remove smalloc add-on test 2015-06-01 23:17:52 +02:00
cctest deps: check in gtest, add util unit test 2015-04-01 22:35:56 +02:00
debugger debugger: improve ESRCH error message 2015-06-05 05:54:19 +02:00
disabled test: purge stale disabled tests 2015-06-25 11:21:41 -07:00
fixtures util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
gc test: enable linting for tests 2015-05-19 21:21:27 +02:00
internet test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
message test: remove stray copyright notices 2015-05-26 17:17:40 +02:00
parallel net: don't throw on immediately destroyed socket 2015-07-27 16:23:21 -05:00
pummel test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
sequential test: skip IPv6 part before testing it 2015-07-27 23:24:03 +05:30
testpy test: create temp dir in common.js 2015-06-12 10:27:29 +10:00
timers test: enable linting for tests 2015-05-19 21:21:27 +02:00
.eslintrc tools: enable/add additional eslint rules 2015-06-11 20:27:35 +02:00
common.js test: tmpdir creation failures should fail tests 2015-06-16 17:19:19 -07:00