]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Update glue between main loop and rsync
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Tue, 22 Apr 2025 22:03:30 +0000 (16:03 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Tue, 22 Apr 2025 22:05:11 +0000 (16:05 -0600)
commita98fafbb1ea714f9533114bf1ab507b7d2e53287
tree7da67cb35a1ff79363596fc217f75e040d15ffa9
parent02d3ee7b15cdbf86d5d33a051b4c895b59ebe145
Update glue between main loop and rsync

1. Propagate EBUSY so the main loop suspends the task (and takes care of
   other tasks) while the rsync runs.
2. Spawner now responds rsync URL and path to parent, so the cache can
   update the download state.
src/asn1/asn1c/OCTET_STRING.c
src/asn1/asn1c/OCTET_STRING.h
src/cache.c
src/log.h
src/main.c
src/object/tal.c
src/rsync.c
src/rsync.h
test/cache_test.c
test/mock.c
test/rsync_test.c