1
0
Fork 0

Fix basic auth infinite loop (#11320)

pull/11386/head
Uladzimir Tsykun 2023-03-17 09:13:11 +01:00 committed by GitHub
parent b8f82b244c
commit 32366bc37d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ class CurlDownloader
$result = $this->isAuthenticatedRetryNeeded($job, $response);
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;
}