Files
node/lib
Thomas Watson 212a7a609d net: ensure net.connect calls Socket connect
It's important for people who monkey-patch `Socket.prototype.connect`
that it's called by `net.connect` since it's not possible to
monkey-patch `net.connect` directly (as the `connect` function is called
directly by other parts of `lib/net.js` instead of calling the
`exports.connect` function).

Among the actors who monkey-patch `Socket.prototype.connect` are most
APM vendors, the async-listener module and the
continuation-local-storage module.

Related:
- https://github.com/nodejs/node/pull/12342
- https://github.com/nodejs/node/pull/12852

PR-URL: https://github.com/nodejs/node/pull/12861
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Luca Maraschi <luca.maraschi@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
2017-05-08 13:56:37 -07:00
..
2017-05-01 11:18:51 -07:00
2017-03-17 11:09:10 -07:00
2017-03-10 11:23:48 -08:00
2017-04-21 13:09:49 -04:00
2017-04-30 03:17:36 -04:00
2016-10-04 12:17:32 -04:00
2017-04-30 03:18:01 -04:00
2017-03-10 11:23:48 -08:00
2017-03-31 22:02:25 +02:00
2017-04-30 03:17:50 -04:00
2017-04-28 14:29:45 -07:00
2017-03-10 11:23:48 -08:00