authcache switched to hashtables, overflow fixed

- authcache switched to use hashtables, size parameter added
- overflow fixed on hashinit
- hashtable prefers new values on insert if table is full
- hashtable is able to compact/grow
This commit is contained in:
Vladimir Dubrovin committed 2026-04-19 19:16:33 +03:00
1 parent a3729354b8
commit 7102afe856
6 files changed
+159 -159

No files matched your search

+2 -1
View File
@@ -623,9 +623,10 @@ shared ones.
.br
.B authcache
<cachtype> <cachtime>
<cachtype> <cachtime> <cachesize>
.br
Cache authentication information for a given amount of time (cachetime) in seconds.
cachesize limits number of cache entries.
Cachetype is one of:
.br
ip - after successful authentication all connections during caching time