Files
node/lib
Juwan Yoo c6cbbf9263 net: allow missing callback for Socket.connect
Arguments of Socket.prototype.connect should be also normalized,
causing error when called without callback.

Changed Socket.prototype.connect's code same as net.connect and added
test.

Fixes: https://github.com/nodejs/node/issues/11761
PR-URL: https://github.com/nodejs/node/pull/11762
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
2017-03-13 20:12:44 +08:00
..
2017-03-10 11:23:48 -08:00
2017-03-10 23:48:35 -05:00
2017-03-10 11:23:48 -08:00
2016-10-04 12:17:32 -04:00
2017-03-10 11:23:48 -08:00
2017-03-10 11:23:48 -08:00
2017-03-10 11:23:48 -08:00
2017-03-10 11:23:48 -08:00
2017-03-05 14:23:02 +01:00
2017-03-10 11:23:48 -08:00