| Commit message (Expand) | Author |
2020-11-16 | Only allow clients to AUTHENTICATE if using a cert | June McEnroe |
2020-11-16 | Set client sockets non-blocking | June McEnroe |
2020-11-14 | Swap localAccept parameter order | June McEnroe |
2020-11-14 | Only send shutdown QUIT and ERROR to registered clients | June McEnroe |
2020-11-14 | Make struct Client public | June McEnroe |
2020-11-13 | Wait for POLLIN to do client tls_handshake | June McEnroe |
2020-11-13 | Use a fixed size pollfd array in calico | June McEnroe |
2020-11-13 | Disallow / anywhere in server name | June McEnroe |
2020-11-12 | Check bounds of ClientHello extensions length | June McEnroe |
2020-11-10 | Report paths in unveil errors | June McEnroe |
2020-10-24 | contrib/palaver: Use open_memstream instead of fmemopen | June McEnroe |
2020-10-11 | Handle signals before the main loop | June McEnroe |
2020-09-09 | Fix possibliy uninitialized error 2.0 | June McEnroe |
2020-08-31 | Refactor reserialization and client self-producing | June McEnroe |
2020-08-30 | Add chmod+chown to certbot example | June McEnroe |
2020-08-30 | Rearrange bounce.c, move non-main mains below main | June McEnroe |
2020-08-30 | Sandbox pounce with unveil(2) | June McEnroe |
2020-08-28 | Refactor certificate loading and load all certs from config paths | June McEnroe |
2020-08-27 | Sandbox pounce with pledge(2) | June McEnroe |
2020-08-27 | Sandbox calico with pledge(2) and unveil(2) | June McEnroe |
2020-08-27 | Add support for OpenBSD | June McEnroe |
2020-08-27 | Remove rc scripts | June McEnroe |
2020-08-27 | contrib/palaver: Fix documented database path | June McEnroe |
2020-08-27 | contrib/palaver: Remove rc script | June McEnroe |
2020-08-27 | contrib/palaver: Fix database search and creation | June McEnroe |
2020-08-27 | contrib/palaver: Use pounce's XDG directory | June McEnroe |
2020-08-27 | contrib/palaver: Only allow HTTPS | June McEnroe |
2020-08-25 | Support the pounce_env rc variable | June McEnroe |
2020-08-25 | Remove deprecated option names | June McEnroe |
2020-08-25 | Document configuration and data file search | June McEnroe |
2020-08-24 | Use dataOpen for save file | June McEnroe |
2020-08-24 | Use configOpen to load localCA | June McEnroe |
2020-08-24 | Use configPath to load client cert/priv | June McEnroe |
2020-08-24 | Use configOpen in getopt_config | June McEnroe |
2020-08-24 | Import xdg.c from catgirl | June McEnroe |
2020-08-23 | Replace “RAND_bytes” by “getentropy” | Issam E. Maghni |
2020-08-16 | contrib/palaver: Add no message preview flags | June McEnroe |
2020-08-13 | contrib/palaver: Don't set channel for PMs | June McEnroe |
2020-08-13 | Fix unintended interception of NICK after registration | June McEnroe |
2020-08-12 | Add Additional Components section to README | June McEnroe |
2020-08-12 | Document -L / palaver option | June McEnroe |
2020-08-11 | contrib/palaver: Document service configuration | June McEnroe |
2020-08-11 | contrib/palaver: Add install target and rc script | June McEnroe |
2020-08-11 | contrib/palaver: Implement command and notifications | June McEnroeui cleanups | Lars Hjemli |
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Make a better commit parser, replacing the ugly one in ui-log.c
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Let README describe the "bigger picture" instead.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Since fmt() uses 8 alternating static buffers, and cache_lock might call
cache_create_dirs() multiple times, which in turn might call fmt() twice,
after four iterations lockfile would be overwritten by a cachedirectory
path.
In worst case, this could cause the cachedirectory to be unlinked and replaced
by a cachefile.
Fix: use xstrdup() on the result from fmt() before assigning to lockfile, and
call free(lockfile) before exit.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
An embarrassing thinko in cgit_check_cache() would truncate valid cachefiles
in the following situation:
1) process A notices a missing/expired cachefile
2) process B gets scheduled, locks, fills and unlocks the cachefile
3) process A gets scheduled, locks the cachefile, notices that the cachefile
now exist/is not expired anymore, and continues to overwrite it with an
empty lockfile.
Thanks to Linus for noticing (again).
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
While at it, replace the cgit_[lib_]error constants with a proper function
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Add a global variable, cgit_max_lock_attemps, to avoid the possibility of
infinite loops when failing to acquire a lockfile. This could happen on
broken setups or under crazy server load.
Incidentally, this also fixes a lurking bug in cache_lock() where an
uninitialized returnvalue was used.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
This closes the door for unneccessary calls to cgit_fill_cache().
Noticed by Linus.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|