Skip to content

The socket package should hanndle reconnects and possibly mutliple connections #4899

@Benehiko

Description

@Benehiko

Description

The CLI socket package allows for plugins to connect to the CLI. The CLI uses this connection to signal to the plugin when to exit, based on OS termination signals. The current implementation does not allows for the plugin to reconnect to the CLI and the CLI has no way of handling multiple connections.

In the future we might want to allow for such situations. For example, the plugin might drop a connection and redial or a plugin might spawn another or the CLI might spawn multiple.

For context, please see this PR #4878

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