summaryrefslogtreecommitdiffstats
path: root/src/man
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-06-16 11:38:57 -0400
committerGreg Hudson <ghudson@mit.edu>2012-06-22 11:46:57 -0400
commitf5208244315465208a7a0782138d65d9bf3885e2 (patch)
tree8326adc7e27b4569720a33b507d34efaadc70c94 /src/man
parentf07760088b72a11c54dd72efbc5739f231a4d4b0 (diff)
downloadkrb5-f5208244315465208a7a0782138d65d9bf3885e2.tar.gz
krb5-f5208244315465208a7a0782138d65d9bf3885e2.tar.xz
krb5-f5208244315465208a7a0782138d65d9bf3885e2.zip
Limit size of lookaside cache
Add a preprocessor constant LOOKASIDE_MAX_SIZE (defaulting to 10MB) which limits the total size of the lookaside cache entries. Purge stale entries in kdc_insert_lookaside instead of kdc_check_lookaside, and when doing so, continue purging non-stale entries until the total cache size (including the new entry) is within the size constraint.
Diffstat (limited to 'src/man')
0 files changed, 0 insertions, 0 deletions