Skip to content

Shutdown 0 not waiting for active connection to complete #1

@ngoyal16

Description

@ngoyal16

We are trying to shutdown server with 0 and wait active connection to be terminate.

but as soon as Shutdown function get called the server is get terminated.

we should increment connWaitGroup using .Add(1) and once the connection terminate we should use .Done() function so that the connWaitGroup.wait() funciton wil be wait until the active connection(s) is closed.

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