Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Commit

Permalink
Add missing ConfigureAwait(false) to prevent deadlocks
Browse files Browse the repository at this point in the history
  • Loading branch information
elcattivo committed Mar 11, 2018
1 parent 120c96c commit 6d53016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CloudFlareUtilities/ClearanceHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private async Task PassClearance(HttpResponseMessage response, CancellationToken
{
SaveIdCookie(response);

var pageContent = await response.Content.ReadAsStringAsync();
var pageContent = await response.Content.ReadAsStringAsync().ConfigureAwait(false);
var scheme = response.RequestMessage.RequestUri.Scheme;
var host = response.RequestMessage.RequestUri.Host;
var port = response.RequestMessage.RequestUri.Port;
Expand Down

0 comments on commit 6d53016

Please sign in to comment.