Skip to content
This repository was archived by the owner on Nov 20, 2022. It is now read-only.
This repository was archived by the owner on Nov 20, 2022. It is now read-only.

Multi echo server example doesn't actually work #56

Description

@kvanbere

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions