Skip to content

Commit e8b9e6c

Browse files
committed
bug #38633 [HttpClient] Fix decorating progress info in AsyncResponse (jderusse)
This PR was squashed before being merged into the 5.x branch. Discussion ---------- [HttpClient] Fix decorating progress info in AsyncResponse | Q | A | ------------- | --- | Branch? | 5.x | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #38631 | License | MIT | Doc PR | / This PR reverts #38413, and send AsyncContext to onProgress callback. Commits ------- e325f51fe2 [HttpClient] Fix decorating progress info in AsyncResponse
2 parents 7b28f79 + 73ace0a commit e8b9e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2098,7 +2098,7 @@ private function registerRetryableHttpClient(array $options, string $name, Conta
20982098

20992099
$container
21002100
->register($name.'.retryable', RetryableHttpClient::class)
2101-
->setDecoratedService($name, null, -10) // lower priority than TraceableHttpClient
2101+
->setDecoratedService($name, null, 10) // higher priority than TraceableHttpClient
21022102
->setArguments([new Reference($name.'.retryable.inner'), $retryStrategy, $options['max_retries'], new Reference('logger')])
21032103
->addTag('monolog.logger', ['channel' => 'http_client']);
21042104
}

0 commit comments

Comments
 (0)