aboutsummaryrefslogtreecommitdiffstats
path: root/cache.c
AgeCommit message (Expand)AuthorFilesLines
2015-03-09cache: don't use an integer as a NULL pointerJohn Keeping1-1/+1
2015-03-03cache: use F_SETLK to avoid stale lock filesJohn Keeping1-1/+14
2014-02-21Skip cache slot when time-to-live is zeroLukas Fleischer1-1/+1
2014-01-19cache: use sendfile() instead of a pair of read() + write()Sebastian Andrzej Siewior1-1/+25
2014-01-17Switch to exclusively using global ctxLukas Fleischer1-8/+6
2014-01-12cache: don't leave cache_slot fields uninitializedJohn Keeping1-1/+1
2014-01-08Update copyright informationLukas Fleischer1-1/+1
2013-05-22cache.c: cache ls_cache output properlyJohn Keeping1-6/+7
2013-05-18cache.c: fix cache_lsJohn Keeping1-4/+10
2013-04-08use struct strbuf instead of static buffersJohn Keeping1-37/+20
2013-03-05Mark several functions/variables staticLukas Fleischer1-1/+1
2013-03-04White space around control verbs.Jason A. Donenfeld1-3/+3
2013-03-04Fix several whitespace errorsLukas Fleischer1-3/+3
2008-11-06Fix some warnings to allow -WerrorRamsay Jones1-2/+2
2008-09-01cache.c: use %zd for off_t argumentLars Hjemli1-1/+1
2008-05-20cache.c: fix error checking in print_slot()Lars Hjemli1-4/+7
2008-05-18cache.c: do not ignore errors from print_slot()Lars Hjemli1-3/+13
2008-05-18cache.c: use xread()/xwrite() from libgitLars Hjemli1-6/+6
2008-05-18cache.c: make all io-related functions return errno on errorLars Hjemli1-9/+24
2008-05-18cache.c: read(2) returns -1 on error, not 0Lars Hjemli1-1/+1
2008-04-28Add page 'ls_cache'Lars Hjemli1-0/+68
2008-04-28Redesign the caching layerLars Hjemli1-68/+291
2008-03-27Add cache.hLars Hjemli1-0/+1
2008-02-16Move cgit_repo into cgit_contextLars Hjemli1-3/+3
2008-02-16Add all config variables into struct cgit_contextLars Hjemli1-5/+5
2008-02-16Introduce struct cgit_contextLars Hjemli1-2/+2
2007-05-18cache_safe_filename() needs more buffersLars Hjemli1-4/+9
2007-05-18Enable url=value querystring parameterLars Hjemli1-3/+6
2007-01-12Remove troublesome chars from cachefile namesLars Hjemli1-0/+16
2007-01-12Move cache_prepare() to cgitLars Hjemli1-22/+0
2006-12-16Allow relative paths for cgit_cache_rootLars Hjemli1-0/+4
2006-12-12cache_lock: do xstrdup/free on lockfileLars Hjemli1-1/+2
2006-12-11Don't truncate valid cachefilesLars Hjemli1-0/+5
2006-12-11Avoid infinite loops in caching layerLars Hjemli1-13/+22
2006-12-11Fix cache algorithm loopholeLars Hjemli1-1/+5
2006-12-10Add license file and copyright noticesLars Hjemli1-0/+8
2006-12-10Add caching infrastructureLars Hjemli1-0/+86