mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

The SQLite storage backend implements expiration by hand and garbage collection is done in `DoExpire`. This previously relied exclusively on gets not running within `Storage::expire_interval` of the put, otherwise we would potentially serve expired entries. With this patch we explictly check that entries are not expired before serving them so that the SQLite backend should never serve expired entries.
3 lines
270 B
Text
3 lines
270 B
Text
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
|
BEFORE, [code=Storage::SUCCESS, error_str=<uninitialized>, value=v]
|
|
AFTER, [code=Storage::KEY_NOT_FOUND, error_str=<uninitialized>, value=<uninitialized>]
|