Commits


release the memory used by the object cache Leak spotted by valgrind. ok stsp@


fix NULL deref in the object cache debug code; ok stsp@ it's not in code compiled by default as it's under GOT_OBJ_CACHE_DEBUG.


keep track of the size of the largest object which entered an object cache


mark check_refcount as static needed because of -Wmissig-prototypes; ok stsp@


object cache: if kicking an object out to make space, reuse its mem allocation


portable: add back sys/queue.h Now that the handling of including sys/queue.h is better, there's no need to remove those lines from the source. Copy the location of those original sys/queue.h lines from upstream at the same line number, so as to avoid any conflicts in the future.


build with -Wmissing-prototypes ok stsp@


inline struct got_object_id in struct got_object_qid Saves us from doing a malloc/free call for every item on the list. ok op@


wrap overlong lines


Revert "cache raw objects in order to speed up gotadmin pack" This reverts commit c565dfd37a157bab9556aceac96ff27d64525fc9.


cache raw objects in order to speed up gotadmin pack


portable: update to handle bloom, etc Update portable to support changes for bloom, etc.


cache raw objects in order to speed up gotadmin pack


portable: add FreeBSD support This adds the capability to compile got-portable on FreeBSD.


portable: initial Linux compilation This commit modifies the GoT main branch to be able to compile it under linux.


switch from SIMPLEQ to equivalent STAILQ macros The singly-linked tail queue macros were added to OpenBSD 6.9 and are more widely available on other systems. ok stsp


increase tag cache size; makes tog more responsive when many tags exist


convert tree entries from SIMPLEQ to an array


remove obj->path_packfile which is unused nowadays; saves a few free() calls


stop storing decompressed delta data in struct got_delta; fetch it on demand


fix build on OpenBSD/sparc64 (gcc)


don't leak objects which can't be cached


add cache debug output for too large elements


don't cache objects larger than 1MB


fix build with -DGOT_OBJ_CACHE_DEBUG