summaryrefslogtreecommitdiff
path: root/debian/apt.bug-script
diff options
context:
space:
mode:
authorTroy Varney <tvarney@cloudflare.com>2022-04-26 12:08:19 -0500
committerTroy Varney <tvarney@cloudflare.com>2022-04-28 12:43:34 -0500
commitb3a5bbe234d4206b7736bca2ca7f56feaa92f5ff (patch)
tree570f1e833f61eb4d7a4229797bb836a7f696e527 /debian/apt.bug-script
parent51bcb140eacd3c42b2b82d3d8946bf236858bbf1 (diff)
Fix mirror method dequeuing incorrect items
When the mirror method handles a URI Acquire from apt for a mirror list it already has, it calls the `RedirectItem` function directly. This function assumes that the item being redirected is at the head of the queue, and as such calls `Dequeue` to remove it from the queue. This resulted in incorrect items being removed from the queue when this branch is taken and the queue was already non-empty, as the item to be handled in this case is actually the last item in the queue. This changes `RedirectItem` to properly remove the item passed to it instead of calling Dequeue.
Diffstat (limited to 'debian/apt.bug-script')
0 files changed, 0 insertions, 0 deletions