You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 20, 2022. It is now read-only.
I've been trying to build a clustered server using the multi echo server example and have been unable to.
The original example does not work.
I was able to fix some error (it instantly crashes when a worker receives a connection) by replacing the use of malloc with calloc in the worker spawning code (the structure is not properly zero'd) but now the callback for the client connecting is never called in the worker...
Clients just hang, waiting, forever ...
Edit: It seems the last commit to the multi echo server worker said "updated api, never tested". Grr.
I've been trying to build a clustered server using the multi echo server example and have been unable to.
The original example does not work.
I was able to fix some error (it instantly crashes when a worker receives a connection) by replacing the use of
mallocwithcallocin the worker spawning code (the structure is not properly zero'd) but now the callback for the client connecting is never called in the worker...Clients just hang, waiting, forever ...
Edit: It seems the last commit to the multi echo server worker said "updated api, never tested". Grr.