Commits


Add initial support for network protocol. Ported from git9 by Ori Bernstein.


allow inflate(3) to consume all mapped data at once in got_inflate_read_mmap()


retry on Z_BUF_ERROR in got_inflate_read() as well


Z_BUF_ERROR is not fatal; try to decompress more data when it happens


fix got_error_from_errno() arguments in inflate.c


no need to zero memory in got_inflate_to_mem_mmap()


no need to zero memory in got_inflate_to_mem_fd()


no need to zero memory in got_inflate_to_mem()


rename got_error_prefix_errno() to got_error_from_errno()


got_error_from_errno -> got_error_prefix_errno also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)


make got path APIs available to library consumers


improve error checking around inflateInit()


rename got_zstream_* to got_inflate_*


replace reallocarray with recallocarray throughout inflate.c


wrap overlong line