Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
Add missing .ConfigureAwait(false) in HttpConnectionPool (#38610)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub committed Jun 17, 2019
1 parent dd6b066 commit 3b2707b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ private ValueTask<HttpConnection> GetOrReserveHttp11ConnectionAsync(Cancellation
}

// If we reach this point, it means we need to fall back to a (new or existing) HTTP/1.1 connection.
return await GetHttpConnectionAsync(request, cancellationToken);
return await GetHttpConnectionAsync(request, cancellationToken).ConfigureAwait(false);
}

public async Task<HttpResponseMessage> SendWithRetryAsync(HttpRequestMessage request, bool doRequestAuth, CancellationToken cancellationToken)
Expand Down

0 comments on commit 3b2707b

Please sign in to comment.