about summary refs log tree commit
path: root/cache.c
DateCommit message (Expand)
2019-04-22use buffered stdio (lightly tested)
2018-06-27cache: close race window when unlocking slots
2017-10-15global: spelling fixes
2017-10-03cache: flush stdio before restoring FDs
2016-01-17cache: don't check for match with no key
2016-01-17cache: use size_t for string lengths
2015-10-10cache: fix resource leak: close file handle before return
2015-08-13cache.c: fix header order
2015-03-09cache: don't use an integer as a NULL pointer
2015-03-03cache: use F_SETLK to avoid stale lock files
2014-02-21Skip cache slot when time-to-live is zero
2014-01-19cache: use sendfile() instead of a pair of read() + write()
2014-01-17Switch to exclusively using global ctx
2014-01-12cache: don't leave cache_slot fields uninitialized
2014-01-08Update copyright information
2013-05-22cache.c: cache ls_cache output properly
2013-05-18cache.c: fix cache_ls
2013-04-08use struct strbuf instead of static buffers
2013-03-04Mark several functions/variables static
2013-03-04White space around control verbs.
2013-03-04Fix several whitespace errors
2008-11-06Fix some warnings to allow -Werror
2008-09-01cache.c: use %zd for off_t argument
2008-05-20cache.c: fix error checking in print_slot()
2008-05-18cache.c: do not ignore errors from print_slot()
2008-05-18cache.c: use xread()/xwrite() from libgit
2008-05-18cache.c: make all io-related functions return errno on error
2008-05-18cache.c: read(2) returns -1 on error, not 0
2008-04-28Add page 'ls_cache'
2008-04-28Redesign the caching layer
2008-03-27Add cache.h
2008-02-16Move cgit_repo into cgit_context
2008-02-16Add all config variables into struct cgit_context
2008-02-16Introduce struct cgit_context
2007-05-18cache_safe_filename() needs more buffers
2007-05-18Enable url=value querystring parameter
2007-01-12Remove troublesome chars from cachefile names
2007-01-12Move cache_prepare() to cgit
2006-12-16Allow relative paths for cgit_cache_root
2006-12-12cache_lock: do xstrdup/free on lockfile
2006-12-11Don't truncate valid cachefiles
2006-12-11Avoid infinite loops in caching layer
2006-12-11Fix cache algorithm loophole
2006-12-10Add license file and copyright notices
2006-12-10Add caching infrastructure