Is there any way I can get the old behaviour back for a worker doing server.listen(0)?
The problem I have is that I do server.listen() multiple times in a worker, to get multiple listening servers, and cluster breaks this by always giving me back the same server/port. I just want the old behaviour back, even if I have to set some sort of flag to do so. I don't need the master doing the listening, it doesn't need to multiplex across multiple children, it just needs one child having one server on a unique port. I could "fake" this by randomly selecting a port, but we all know that's fragile and subject to race conditions. Matt. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
