mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Some cases use both `cluster` and `net`/`cluser` will throw ERR_INTERNAL_ASSERTION when `listen`/`bind` to the port of `0`. This PR maitains a separate map of the index to fix the issue. See the new tests added for the detail cases. PR-URL: https://github.com/nodejs/node/pull/36764 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>