Skip to content

Server hangs given a panic in configure_ #1655

@andreib1

Description

@andreib1

The defer statement attempts to send a struct{} to the server control channel to gracefully shut down.

The server has not been started yet, and therefore has no receiver, so sending to the channel hangs.

Steps to reproduce:
Panic in configure_

Expected
Panic message

Actual
Server hangs with no panic message

Potential Fix
Move the defer behaviour to after the configure call has been executed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions