index
:
cgit
main
Hyperfast and read-only web frontend for git repositories
Bryce Kwon
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
source
/
cache.c
(
unfollow
)
Age
Commit message (
Expand
)
Author
Lines
9 days
End a request quietly when the client has gone
Bryce Kwon
-1
/
+2
9 days
Keep clone files and oversized responses out of the cache
Bryce Kwon
-3
/
+22
2026-09-22
Align with spaces instead of tabs
Bryce Kwon
-7
/
+7
2026-09-21
Harden the request path, scan and error recovery
Bryce Kwon
-22
/
+49
2026-09-21
Log a cache slot that cannot be published
Bryce Kwon
-2
/
+14
2026-09-21
Fail cleanly when a filter cannot run
Bryce Kwon
-0
/
+3
2026-09-06
Clean up the whole tree
Bryce Kwon
-34
/
+29
2026-09-06
Trim the comments and dead code across the tree
Bryce Kwon
-24
/
+14
2026-08-23
Log scan lock failures that are not contention
Bryce Kwon
-7
/
+7
2026-08-23
Give up a scan or slot whose lock file was renamed
Bryce Kwon
-0
/
+13
2026-08-23
Serve nothing further once a fill is abandoned
Bryce Kwon
-3
/
+34
2026-08-22
Log when a cache slot is claimed by a colliding key
Bryce Kwon
-0
/
+8
2026-08-12
Restyle the sources and fix the audit's findings
Bryce Kwon
-217
/
+245
2026-08-08
Bound the search and cache key a request can ask
Bryce Kwon
-0
/
+15
2026-08-08
Gather page output into one buffer
Bryce Kwon
-0
/
+1
2026-08-06
Settle the names, types and layout of the sources
Bryce Kwon
-10
/
+9
2026-07-25
Bound the cache listing key output
Bryce Kwon
-2
/
+9
2026-07-16
Point the fork's links and credits at itself
Bryce Kwon
-1
/
+1
2026-07-15
Reorganize into source, assets and libraries
Bryce Kwon
-0
/
+0
2026-04-13
cache: truncate lock file before filling
Jason A. Donenfeld
-0
/
+2
2022-12-19
cache: tolerate short writes in print_slot
Hristo Venev
-20
/
+25
2020-12-29
git: update to v2.30.0
Christian Hesse
-3
/
+3
2018-06-27
cache: close race window when unlocking slots
John Keeping
-23
/
+14
2017-10-15
global: spelling fixes
Ville Skyttä
-1
/
+1
2017-10-03
cache: flush stdio before restoring FDs
John Keeping
-0
/
+6
2016-01-17
cache: don't check for match with no key
John Keeping
-2
/
+3
2016-01-17
cache: use size_t for string lengths
John Keeping
-2
/
+2
2015-10-10
cache: fix resource leak: close file handle before return
Christian Hesse
-3
/
+9
2015-08-13
cache.c: fix header order
John Keeping
-3
/
+3
2015-03-09
cache: don't use an integer as a NULL pointer
John Keeping
-1
/
+1
2015-03-03
cache: use F_SETLK to avoid stale lock files
John Keeping
-1
/
+14
2014-02-21
Skip cache slot when time-to-live is zero
Lukas Fleischer
-1
/
+1
2014-01-19
cache: use sendfile() instead of a pair of read() + write()
Sebastian Andrzej Siewior
-1
/
+25
2014-01-17
Switch to exclusively using global ctx
Lukas Fleischer
-8
/
+6
2014-01-12
cache: don't leave cache_slot fields uninitialized
John Keeping
-1
/
+1
2014-01-08
Update copyright information
Lukas Fleischer
-1
/
+1
2013-05-22
cache.c: cache ls_cache output properly
John Keeping
-6
/
+7
2013-05-18
cache.c: fix cache_ls
John Keeping
-4
/
+10
2013-04-08
use struct strbuf instead of static buffers
John Keeping
-37
/
+20
2013-03-04
Mark several functions/variables static
Lukas Fleischer
-1
/
+1
2013-03-04
White space around control verbs.
Jason A. Donenfeld
-3
/
+3
2013-03-04
Fix several whitespace errors
Lukas Fleischer
-3
/
+3
2008-11-06
Fix some warnings to allow -Werror
Ramsay Jones
-2
/
+2
2008-09-01
cache.c: use %zd for off_t argument
Lars Hjemli
-1
/
+1
2008-05-20
cache.c: fix error checking in print_slot()
Lars Hjemli
-4
/
+7
2008-05-18
cache.c: do not ignore errors from print_slot()
Lars Hjemli
-3
/
+13
2008-05-18
cache.c: use xread()/xwrite() from libgit
Lars Hjemli
-6
/
+6
2008-05-18
cache.c: make all io-related functions return errno on error
Lars Hjemli
-9
/
+24
2008-05-18
cache.c: read(2) returns -1 on error, not 0
Lars Hjemli
-1
/
+1
2008-04-28
Add page 'ls_cache'
Lars Hjemli
-0
/
+68
[next]