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

onConfigure should also return PENDING if config processing is not completed #2

Open
mandarjog opened this issue Mar 25, 2020 · 1 comment

Comments

@mandarjog
Copy link

Here is an example of a whitelist plugin that uses externally managed white lists.

  1. OnConfigure ( white_list_url ). --> url is valid so True
  2. But URL is not fetched yet, so the plugin cannot process requests

options

  1. Until fully initialized: the plugin just lets everything pass.
    This is left to the plugin to decide and code correctly.
  2. listener is kept in "warming" not ready until all plugins are operational
    a. onConfigure return PENDING
    b. At a later point on iocompletion, plugin calls proxy_config_done({success, failure})
@mandarjog
Copy link
Author

@PiotrSikora @jplevyak

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