Files
node/lib
Joyee Cheung b56e851c48 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 05:31:05 -06:00
..
2017-02-26 19:20:57 -05:00
2017-02-25 11:24:34 -05:00
2016-10-17 09:44:52 -07:00
2016-12-05 03:33:34 +01:00
2017-03-05 23:28:39 +01:00
2016-10-18 21:10:38 -07:00
2017-03-05 23:24:54 +01:00
2016-10-06 11:51:53 -07:00
2017-03-05 23:25:38 +01:00
2017-02-22 20:54:31 +01:00