Node.js pass handle of response object handle to child process

前端 未结 1 1232
悲&欢浪女
悲&欢浪女 2021-01-12 00:55

I have an http server and a forked child process. I want the parent to receive requests and pass to forked process using worker.send. and the worke

相关标签:
1条回答
  • 2021-01-12 01:37

    The worker.send only takes requests coming from a net.createServer function. Try better with 'net' package instead of http. This resolved my issue

    0 讨论(0)
提交回复
热议问题