update code to support brotli

This commit is contained in:
Ned Wright
2026-01-04 11:39:41 +00:00
parent 2105628f05
commit 041a463390
22 changed files with 3292 additions and 81 deletions

View File

@@ -0,0 +1,13 @@
#include <atomic>
// Forward declaration of CacheStats struct
struct CacheStats {
static std::atomic<uint64_t> hits;
static std::atomic<uint64_t> misses;
static bool tracking_enabled;
};
// Define static members for cache statistics
std::atomic<uint64_t> CacheStats::hits{0};
std::atomic<uint64_t> CacheStats::misses{0};
bool CacheStats::tracking_enabled = false;