Files
node/lib
Joyee Cheung 53f3869322 net: refactor overloaded argument handling
* Make normalizeArgs return either [options, null] or [options, cb]
  (the second element won't be undefined anymore) and avoid OOB read
* Use Socket.prototype.connect.call instead of .apply when the number
  of arguments is certain(returned by normalizeArgs).
* Rename some args[i] for readability
* Refactor Server.prototype.listen, separate backlogFromArgs and
  options.backlog, comment the overloading process, refactor control
  flow

PR-URL: https://github.com/nodejs/node/pull/11667
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-03-08 15:06:32 +08:00
..
2017-03-04 14:16:03 -08:00
2016-10-18 15:38:43 -07:00
2017-03-02 15:31:21 -05:00
2016-10-04 12:17:32 -04:00
2017-03-04 08:04:08 -08:00
2017-03-05 14:23:02 +01:00
2017-02-17 10:21:02 -08:00