create_entry() issues INSERT OR REPLACE in SQL, so the on-disk row is correctly overwritten when a (cache_key, vary_key) pair is re-inserted. But the in-memory m_entries vector was only appended to, leaving the stale Entry alongside the new one. Subsequent find_entry() calls could then return the old metadata even though the DB had moved on. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| TestCacheIndex.cpp | ||
| TestCacheUtilities.cpp | ||
| TestHTTPUtils.cpp | ||