Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TerehinAV opened this issue Oct 16, 2020 · 1 comment

Comments

@TerehinAV
Copy link

TerehinAV commented Oct 16, 2020

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!

@TerehinAV
Copy link
Author

If no any successfull connections at astmanproxy's start - ProxyActions are not available, so I can't use AddServer or DropServer actions to manage sessions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant