This is an automated email from the ASF dual-hosted git repository.

cmcfarlen pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 78993333b727bdc8bac60a920e88a2d5545ab0c4
Author: JosiahWI <[email protected]>
AuthorDate: Mon Jun 10 04:55:23 2024 -0500

    Add missing experimental plugins to build (#11430)
    
    The stale_response plugin had no auto_option, and http_stats did but its
    add_subdirectory call was missing. These were missed in #10967.
    
    (cherry picked from commit d6bc85f955b3f2985d2818a26e4c3034e9dcc9cf)
---
 cmake/ExperimentalPlugins.cmake     | 1 +
 plugins/experimental/CMakeLists.txt | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/cmake/ExperimentalPlugins.cmake b/cmake/ExperimentalPlugins.cmake
index c555f34385..6836d00f8e 100644
--- a/cmake/ExperimentalPlugins.cmake
+++ b/cmake/ExperimentalPlugins.cmake
@@ -80,6 +80,7 @@ auto_option(
 auto_option(RATE_LIMIT FEATURE_VAR BUILD_RATE_LIMIT DEFAULT ${_DEFAULT})
 auto_option(REDO_CACHE_LOOKUP FEATURE_VAR BUILD_REDO_CACHE_LOOKUP DEFAULT 
${_DEFAULT})
 auto_option(SSLHEADERS FEATURE_VAR BUILD_SSLHEADERS DEFAULT ${_DEFAULT})
+auto_option(STALE_RESPONSE FEATURE_VAR BUILD_STALE_RESPONSE DEFAULT 
${_DEFAULT})
 auto_option(
   STEK_SHARE
   FEATURE_VAR
diff --git a/plugins/experimental/CMakeLists.txt 
b/plugins/experimental/CMakeLists.txt
index 0dcdcbb73b..69e6f334de 100644
--- a/plugins/experimental/CMakeLists.txt
+++ b/plugins/experimental/CMakeLists.txt
@@ -50,6 +50,9 @@ endif()
 if(BUILD_HOOK_STATS)
   add_subdirectory(hook_stats)
 endif()
+if(BUILD_HTTP_STATS)
+  add_subdirectory(http_stats)
+endif()
 if(BUILD_ICAP)
   add_subdirectory(icap)
 endif()
@@ -86,6 +89,9 @@ endif()
 if(BUILD_SSLHEADERS)
   add_subdirectory(sslheaders)
 endif()
+if(BUILD_STALE_RESPONSE)
+  add_subdirectory(stale_response)
+endif()
 if(BUILD_STEK_SHARE)
   add_subdirectory(stek_share)
 endif()

Reply via email to