spec
spec copied to clipboard
onConfigure should also return PENDING if config processing is not completed
trafficstars
Here is an example of a whitelist plugin that uses externally managed white lists.
- OnConfigure ( white_list_url ). --> url is valid so True
- But URL is not fetched yet, so the plugin cannot process requests
options
- Until fully initialized: the plugin just lets everything pass. This is left to the plugin to decide and code correctly.
- 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})
@PiotrSikora @jplevyak