Files
node/lib
Eduard Bondarenko b24e269a48 net: multiple listen() events fail silently
Problem:
It's possible to run listen()
  on a net.Server that's already listening to a port.
The result is silent failure,
  with the side effect of changing the connectionKey and or pipeName.

Solution:
  throw an error if listen method called more than once.
  close() method should be called between listen() method calls.

Refs: https://github.com/nodejs/node/pull/8294
Fixes: https://github.com/nodejs/node/issues/6190
Fixes: https://github.com/nodejs/node/issues/11685
PR-URL: https://github.com/nodejs/node/pull/13149
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2017-09-04 12:41:54 +02:00
..
2017-08-14 17:19:19 -04:00
2017-08-25 11:29:33 -07:00
2017-07-07 13:18:19 -07:00
2017-07-17 22:09:46 -07:00
2017-08-31 19:37:39 -04:00
2017-08-28 00:39:42 +04:00
2017-08-21 00:23:24 -04:00
2017-09-01 10:33:15 -04:00
2017-03-10 11:23:48 -08:00
2017-06-19 18:18:56 +02:00
2017-08-30 18:52:28 -03:00
2017-06-28 20:00:42 +02:00
2017-03-10 11:23:48 -08:00