ezelkow1 opened a new issue #6938:
URL: https://github.com/apache/trafficserver/issues/6938


   Currently if a plugin uses a config file, there is no way to be notified of 
updates to that specific file and the plugin itself will not be reloaded unless 
the remap.config changes
   
   Proposing we add a new API that plugins can use to 'attach' their config 
file param to a list of files that also get monitored. When a config reload is 
issued, if the remap.config has changed then the remap should be reloaded 
through the usual method, however if any registered plugin configs have changed 
then the remap should be reloaded as well to be to unload/reload those plugins 
using all the proper reference counting that already exists.
   
   This avoids using hacky implementations inside plugins of monitoring for 
mgmt updates and having to maintain their own methods to free things and reload 
files


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to