Fix basic auth infinite loop (#11320)
parent
b8f82b244c
commit
32366bc37d
|
@ -407,7 +407,7 @@ class CurlDownloader
|
||||||
|
|
||||||
$result = $this->isAuthenticatedRetryNeeded($job, $response);
|
$result = $this->isAuthenticatedRetryNeeded($job, $response);
|
||||||
if ($result['retry']) {
|
if ($result['retry']) {
|
||||||
$this->restartJob($job, $job['url'], ['storeAuth' => $result['storeAuth']]);
|
$this->restartJob($job, $job['url'], ['storeAuth' => $result['storeAuth'], 'retries' => $job['attributes']['retries'] + 1]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue