]> git.ipfire.org Git - pakfire.git/commit
xfer: Ensure we always send the entire buffer
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 7 Feb 2025 19:58:11 +0000 (19:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 7 Feb 2025 19:58:11 +0000 (19:58 +0000)
commit03774afbbd5804561db688791eb9d2aa6a3dbc23
tree0553d58921caa60da9ff5ba926869d415be6a06d
parentf6ae13633e6e3dac7f9a9c1df6e0a40d76814f31
xfer: Ensure we always send the entire buffer

cURL returns OK even if only parts of the buffer have been sent, so we
need to walk through the loop again to make sure all data is sent.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/xfer.c