Skip to content

Server shuts down if none of the hosts from the configuration connect successfully #16

@TerehinAV

Description

@TerehinAV

Hi!

My case is: I have some configuration file with ami servers list, which can be updated dynamically. It can't be guarantied that all of them working well at start. I use this config file to generate astmanproxy's one.

As far as I know from readme, astmanproxy supports proxy actions such as AddServer/DropServer/ListSessions to control connections.

Is it possible to update code in the way like follows?

  1. Host list in config is not a necessary option.
  2. After server start with no hosts in config, clients can manage connections via proxy actions.

Same problem arrives when I drop all connections via proxy action DropServer - server just shutdown when no any connections.

Thanks in advance!

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