]> git.ipfire.org Git - pakfire.git/commit
mirrors: Refactor mirror handling
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 31 Jan 2025 12:00:34 +0000 (12:00 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 31 Jan 2025 12:00:34 +0000 (12:00 +0000)
commitf3ee06895d01e11c6cfe53e0079ee3ae9ede0335
tree7a9635327f1be9c4bfec6e056b1867e1aabade92
parent6118c480df2100d41e8ae95f0f161c22af625002
mirrors: Refactor mirror handling

xfers will now immediately get a mirror assigned when they have a
mirrorlist set so that we don't have to play any games later.

When an xfer has failed, we will ask for another mirror and run again.

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