bneradt opened a new pull request, #12409:
URL: https://github.com/apache/trafficserver/pull/12409

   Most "enabled" configurations are booleans that toggle on or off a feature. 
But we have a few that are named "enabled" but actually take an enumeration of 
values to control behavior. This is confusing terminology. This patch keeps 
support for the enabled configuration as currently named, adds a new "mode" 
configuration for these, and deprecates the old "enabled" config in the docs.
   
   proxy.config.ssl.session_cache.enabled was somewhat complicated: with the 
10.0.0 release, we implemented it as "value" to try to address the issue of 
this patch just for that parameter, but kept the "enabled" config description 
in the docs. So the docs were out of sync with the code. This adds support for 
"enabled" and immediately deprecates that, since users may have tried to use 
that, silently keeps support for "value" in case that was used, and adds the 
now desired "mode" configuration.
   
   If a user passes both the deprecated "enabled" config as well as the new 
"mode" config, then they must be the same value, otherwise an Emergency message 
is logged because it is impossible for ATS to discern which value should be 
used.
   
   Aside from this Emergency log on mismatch just mentioned, this patch should 
be backwards compatible without introducing any changes in behavior for current 
configs.


-- 
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.

To unsubscribe, e-mail: github-unsubscr...@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to