]> git.ipfire.org Git - thirdparty/curl.git/commit
bufq: unwrite fix
authorStefan Eissing <stefan@eissing.org>
Thu, 3 Oct 2024 08:15:07 +0000 (10:15 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 3 Oct 2024 11:27:36 +0000 (13:27 +0200)
commit2400a6c6b21a65aa759ac4301333fd71d87f47ee
treed5b575bacc130e52e17cc37d812a98bfd90ea652
parent08d13c0e46ab535b04c4099d6c51d51f7c288b6c
bufq: unwrite fix

`Curl_bufq_unwrite()` used the head instead of the tail chunk to shrink
the bufq's content. Fix this and add test case that checks correct
behaviour.

Amended test 2601 accordingly.

Reported-by: Chris Stubbs
Closes #15136
.github/scripts/spellcheck.words
docs/internals/BUFQ.md
lib/bufq.c
tests/unit/unit2601.c