]> git.seodisparate.com - c_simple_http/commit
Impl. cache file lifetime checking
authorStephen Seo <seo.disparate@gmail.com>
Thu, 26 Sep 2024 03:37:45 +0000 (12:37 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Thu, 26 Sep 2024 03:37:45 +0000 (12:37 +0900)
commit700adf2f7b37c4eea98510e21cdc5b162a3ce4ed
treed29d7ac9e6a2c90ca21bd5735f10105f4e5e0f81
parent9459ec93132e3efd0d154b6dcb5a7b03ef6e7b0f
Impl. cache file lifetime checking

By default cache files are invalidated when the are aged for longer than
1 week. This "timeout-time" can be modified with a paramter/argument.
src/arg_parse.c
src/arg_parse.h
src/constants.h
src/html_cache.c
src/html_cache.h
src/http.c
src/http.h
src/main.c
src/test.c