]> git.ipfire.org Git - pakfire.git/commit
xfer: Be patient when the websocket buffer is full
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 7 Feb 2025 15:39:34 +0000 (15:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 7 Feb 2025 15:39:34 +0000 (15:39 +0000)
commitfc1b05ae323d0e67163bbcfbab6b536ae0c62a23
treef6a040664bae116e828f9d325a7a013d2df2def9
parent1e90484864dc99dc94ea28d0530d2b1d815f2910
xfer: Be patient when the websocket buffer is full

When the log stream is starting a little while into the build, there
might be a big burst of data sent through the socket which might fill it
up. Then we need to be more patient and send the message again
remembering what has been sent before.

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