]> git.ipfire.org Git - thirdparty/libarchive.git/commit
warc: Ignore separator when reaching end of entry
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 3 Jun 2025 19:57:42 +0000 (21:57 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 3 Jun 2025 19:57:42 +0000 (21:57 +0200)
commitcdb45d71b2857d2a9d96bbfd4b2af02ed66cb85a
tree92b635ae0b12fed061da37d7342d625b456d0182
parentfa85c7eaae4309febdd6095898d78b24d1c93cf2
warc: Ignore separator when reaching end of entry

When _warc_read encounters end of entry, it adds 4 bytes to the last
offset for \r\n\r\n separator, which is never written. Ignore these
bytes since they are not part of the returned entry.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
libarchive/archive_read_support_format_warc.c