Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrennan <brecon@microsoft.com>2022-07-27 01:50:25 +0300
committerGitHub <noreply@github.com>2022-07-27 01:50:25 +0300
commit74734e12efca77120f6dd01538b25aadf1d3dfe1 (patch)
tree3b3670b19838b4379e98567b8cc3f73119abdc43
parentec68a6b23c4e77843738e4d291af3c81b14add49 (diff)
[release/6.0] Add missing ConfigureAwait(false) to PolicyHttpMessageHandlerbrecon/ca
-rw-r--r--src/HttpClientFactory/Polly/src/PolicyHttpMessageHandler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpClientFactory/Polly/src/PolicyHttpMessageHandler.cs b/src/HttpClientFactory/Polly/src/PolicyHttpMessageHandler.cs
index c32c52fc2f..71bfe54ce0 100644
--- a/src/HttpClientFactory/Polly/src/PolicyHttpMessageHandler.cs
+++ b/src/HttpClientFactory/Polly/src/PolicyHttpMessageHandler.cs
@@ -167,7 +167,7 @@ namespace Microsoft.Extensions.Http
disposable.Dispose();
}
- var result = await base.SendAsync(request, cancellationToken);
+ var result = await base.SendAsync(request, cancellationToken).ConfigureAwait(false);
request.Properties[PriorResponseKey] = result;