I work with sockjs. When a stream object (client) arrives, I send it through a worker to the master process.
process.send({ client: connection }) connection is a stream object (client).
And when I call the send method I get an error:
internal/child_process.js:609 var string = JSON.stringify(message) + '\n'; ^ TypeError: Converting circular structure to JSON` With normal objects, everything is fine. Tell me how to fix it?