Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To prevent master process reading from socket which cause hanging we have to pause connection and manualy resume when child_process will be ready to process it. Mentions in Node.js documentation here [net.createSerer](https://nodejs.org/api/net.html#netcreateserveroptions-connectionlistener) ``` If pauseOnConnect is set to true, then the socket associated with each incoming connection will be paused, and no data will be read from its handle. This allows connections to be passed between processes without any data being read by the original process. To begin reading data from a paused socket, call socket.resume(). ``` The issue resolved with a help of following issue: nodejs/node#13435
- Loading branch information