index
:
cgit
git-http-backend
master
A hyperfast web frontend for git repositories written in C
summary
refs
log
tree
commit
diff
stats
homepage
log msg
author
committer
range
path:
root
/
cache.c
(
follow
)
Commit message (
Expand
)
Author
Age
Lines
*
cache: Disable caching for clones
Wolfgang Müller
2021-05-28
-0
/
+11
*
cache: close race window when unlocking slots
John Keeping
2018-06-27
-23
/
+14
*
global: spelling fixes
Ville Skyttä
2017-10-15
-1
/
+1
*
cache: flush stdio before restoring FDs
John Keeping
2017-10-03
-0
/
+6
*
cache: don't check for match with no key
John Keeping
2016-01-17
-2
/
+3
*
cache: use size_t for string lengths
John Keeping
2016-01-17
-2
/
+2
*
cache: fix resource leak: close file handle before return
Christian Hesse
2015-10-10
-3
/
+9
*
cache.c: fix header order
John Keeping
2015-08-13
-3
/
+3
*
cache: don't use an integer as a NULL pointer
John Keeping
2015-03-09
-1
/
+1
*
cache: use F_SETLK to avoid stale lock files
John Keeping
2015-03-03
-1
/
+14
*
Skip cache slot when time-to-live is zero
Lukas Fleischer
2014-02-21
-1
/
+1
*
cache: use sendfile() instead of a pair of read() + write()
Sebastian Andrzej Siewior
2014-01-19
-1
/
+25
*
Switch to exclusively using global ctx
Lukas Fleischer
2014-01-17
-8
/
+6
*
cache: don't leave cache_slot fields uninitialized
John Keeping
2014-01-12
-1
/
+1
*
Update copyright information
Lukas Fleischer
2014-01-08
-1
/
+1
*
cache.c: cache ls_cache output properly
John Keeping
2013-05-22
-6
/
+7
*
cache.c: fix cache_ls
John Keeping
2013-05-18
-4
/
+10
*
use struct strbuf instead of static buffers
John Keeping
2013-04-08
-37
/
+20
*
Mark several functions/variables static
Lukas Fleischer
2013-03-04
-1
/
+1
*
White space around control verbs.
Jason A. Donenfeld
2013-03-04
-3
/
+3
*
Fix several whitespace errors
Lukas Fleischer
2013-03-04
-3
/
+3
*
Fix some warnings to allow -Werror
Ramsay Jones
2008-11-06
-2
/
+2
*
cache.c: use %zd for off_t argument
Lars Hjemli
2008-09-01
-1
/
+1
*
cache.c: fix error checking in print_slot()
Lars Hjemli
2008-05-20
-4
/
+7
*
cache.c: do not ignore errors from print_slot()
Lars Hjemli
2008-05-18
-3
/
+13
*
cache.c: use xread()/xwrite() from libgit
Lars Hjemli
2008-05-18
-6
/
+6
*
cache.c: make all io-related functions return errno on error
Lars Hjemli
2008-05-18
-9
/
+24
*
cache.c: read(2) returns -1 on error, not 0
Lars Hjemli
2008-05-18
-1
/
+1
*
Add page 'ls_cache'
Lars Hjemli
2008-04-28
-0
/
+68
*
Redesign the caching layer
Lars Hjemli
2008-04-28
-68
/
+291
*
Add cache.h
Lars Hjemli
2008-03-27
-0
/
+1
*
Move cgit_repo into cgit_context
Lars Hjemli
2008-02-16
-3
/
+3
*
Add all config variables into struct cgit_context
Lars Hjemli
2008-02-16
-5
/
+5
*
Introduce struct cgit_context
Lars Hjemli
2008-02-16
-2
/
+2
*
cache_safe_filename() needs more buffers
Lars Hjemli
2007-05-18
-4
/
+9
*
Enable url=value querystring parameter
Lars Hjemli
2007-05-18
-3
/
+6
*
Remove troublesome chars from cachefile names
Lars Hjemli
2007-01-12
-0
/
+16
*
Move cache_prepare() to cgit
Lars Hjemli
2007-01-12
-22
/
+0
*
Allow relative paths for cgit_cache_root
Lars Hjemli
2006-12-16
-0
/
+4
*
cache_lock: do xstrdup/free on lockfile
Lars Hjemli
2006-12-12
-1
/
+2
*
Don't truncate valid cachefiles
Lars Hjemli
2006-12-11
-0
/
+5
*
Avoid infinite loops in caching layer
Lars Hjemli
2006-12-11
-13
/
+22
*
Fix cache algorithm loophole
Lars Hjemli
2006-12-11
-1
/
+5
*
Add license file and copyright notices
Lars Hjemli
2006-12-10
-0
/
+8
*
Add caching infrastructure
Lars Hjemli
2006-12-10
-0
/
+86