it is constructed which creates a queue (based on the current queue
mode) and puts the item in that queue. If the system is running then
the queue might be started. */
it is constructed which creates a queue (based on the current queue
mode) and puts the item in that queue. If the system is running then
the queue might be started. */
pkgAcquire::MethodConfig const * const Config, pkgAcquireStatus * const Log)
{
auto SavedDesc = Item->GetItemDesc();
pkgAcquire::MethodConfig const * const Config, pkgAcquireStatus * const Log)
{
auto SavedDesc = Item->GetItemDesc();
in logging before we actually have started, which would
be easier to implement but would confuse users/implementations
so we check the items skipped here in #Startup */
in logging before we actually have started, which would
be easier to implement but would confuse users/implementations
so we check the items skipped here in #Startup */
- if (DoesAcquireResultInInstantFailure(O, Cnf, Owner->Log))
- pointless = true;
- I = pointless ? Items : I->Next;
+ CheckForBadItemAndFailIt(O, Cnf, Owner->Log);
+ // if an item failed, it will be auto-dequeued invalidation our I here
+ I = INext;