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
(
unfollow
)
Commit message (
Expand
)
Author
Lines
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
2008-04-28
Redesign the caching layer
Lars Hjemli
-68
/
+291
2008-03-27
Add cache.h
Lars Hjemli
-0
/
+1
2008-02-16
Move cgit_repo into cgit_context
Lars Hjemli
-3
/
+3
2008-02-16
Add all config variables into struct cgit_context
Lars Hjemli
-5
/
+5
2008-02-16
Introduce struct cgit_context
Lars Hjemli
-2
/
+2
2007-05-18
cache_safe_filename() needs more buffers
Lars Hjemli
-4
/
+9
2007-05-18
Enable url=value querystring parameter
Lars Hjemli
-3
/
+6
2007-01-12
Remove troublesome chars from cachefile names
Lars Hjemli
-0
/
+16
2007-01-12
Move cache_prepare() to cgit
Lars Hjemli
-22
/
+0
2006-12-16
Allow relative paths for cgit_cache_root
Lars Hjemli
-0
/
+4
2006-12-12
cache_lock: do xstrdup/free on lockfile
Lars Hjemli
-1
/
+2
2006-12-11
Don't truncate valid cachefiles
Lars Hjemli
-0
/
+5
2006-12-11
Avoid infinite loops in caching layer
Lars Hjemli
-13
/
+22
2006-12-11
Fix cache algorithm loophole
Lars Hjemli
-1
/
+5
2006-12-10
Add license file and copyright notices
Lars Hjemli
-0
/
+8
2006-12-10
Add caching infrastructure
Lars Hjemli
-0
/
+86