[core] make strftime_cache_get() 16-element cache
commit09b2b146e1ec44b2a7d1f407589e207bf2b176c4
authorGlenn Strauss <gstrauss@gluelogic.com>
Sat, 23 Sep 2017 16:05:13 +0000 (23 12:05 -0400)
committerGlenn Strauss <gstrauss@gluelogic.com>
Sat, 23 Sep 2017 16:05:13 +0000 (23 12:05 -0400)
tree0128a51e36f741b7b09acc98de06e213cab2a0c8
parent93e91954a7058e122ec55421fd4c46acc8a5837d
[core] make strftime_cache_get() 16-element cache

Prior code was effectively a 1-element cache after the initial fill
of the array since only the first element was replaced after the
initial fill.  New code does round-robin replacement.

(whether or not #define FILE_CACHE_MAX 16 is appropriately sized here
 is a question for another day)
src/http-header-glue.c