AgeCommit message (Expand)AuthorLines
Clean up the whole treeBryce Kwon-34/+29
Trim the comments and dead code across the treeBryce Kwon-24/+14
Log scan lock failures that are not contentionBryce Kwon-7/+7
Give up a scan or slot whose lock file was renamedBryce Kwon-0/+13
Serve nothing further once a fill is abandonedBryce Kwon-3/+34
Log when a cache slot is claimed by a colliding keyBryce Kwon-0/+8
Restyle the sources and fix the audit's findingsBryce Kwon-217/+245
Bound the search and cache key a request can askBryce Kwon-0/+15
Gather page output into one bufferBryce Kwon-0/+1
Settle the names, types and layout of the sourcesBryce Kwon-10/+9
Bound the cache listing key outputBryce Kwon-2/+9
Point the fork's links and credits at itselfBryce Kwon-1/+1
Reorganize into source, assets and librariesBryce Kwon-0/+0
cache: truncate lock file before fillingJason A. Donenfeld-0/+2
cache: tolerate short writes in print_slotHristo Venev-20/+25
git: update to v2.30.0Christian Hesse-3/+3
cache: close race window when unlocking slotsJohn Keeping-23/+14
global: spelling fixesVille Skyttä-1/+1
cache: flush stdio before restoring FDsJohn Keeping-0/+6
cache: don't check for match with no keyJohn Keeping-2/+3
cache: use size_t for string lengthsJohn Keeping-2/+2
cache: fix resource leak: close file handle before returnChristian Hesse-3/+9
cache.c: fix header orderJohn Keeping-3/+3
cache: don't use an integer as a NULL pointerJohn Keeping-1/+1
cache: use F_SETLK to avoid stale lock filesJohn Keeping-1/+14
Skip cache slot when time-to-live is zeroLukas Fleischer-1/+1
cache: use sendfile() instead of a pair of read() + write()Sebastian Andrzej Siewior-1/+25
Switch to exclusively using global ctxLukas Fleischer-8/+6
cache: don't leave cache_slot fields uninitializedJohn Keeping-1/+1
Update copyright informationLukas Fleischer-1/+1
cache.c: cache ls_cache output properlyJohn Keeping-6/+7
cache.c: fix cache_lsJohn Keeping-4/+10
use struct strbuf instead of static buffersJohn Keeping-37/+20
Mark several functions/variables staticLukas Fleischer-1/+1
White space around control verbs.Jason A. Donenfeld-3/+3
Fix several whitespace errorsLukas Fleischer-3/+3
Fix some warnings to allow -WerrorRamsay Jones-2/+2
cache.c: use %zd for off_t argumentLars Hjemli-1/+1
cache.c: fix error checking in print_slot()Lars Hjemli-4/+7
cache.c: do not ignore errors from print_slot()Lars Hjemli-3/+13
cache.c: use xread()/xwrite() from libgitLars Hjemli-6/+6
cache.c: make all io-related functions return errno on errorLars Hjemli-9/+24
cache.c: read(2) returns -1 on error, not 0Lars Hjemli-1/+1
Add page 'ls_cache'Lars Hjemli-0/+68
Redesign the caching layerLars Hjemli-66/+289
Add cache.hLars Hjemli-0/+1
Move cgit_repo into cgit_contextLars Hjemli-3/+3
Add all config variables into struct cgit_contextLars Hjemli-5/+5
Introduce struct cgit_contextLars Hjemli-2/+2
cache_safe_filename() needs more buffersLars Hjemli-4/+9