Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'upstream/main' into streamline-http-usa…
…ge-mobile
  • Loading branch information
Steve Pfister committed Jul 9, 2021
commit cfa906877d282f87f751468286f4ad7cef719b6b
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,13 @@ public SslProtocols SslProtocols
//[UnsupportedOSPlatform("ios")]
//[UnsupportedOSPlatform("tvos")]
//[UnsupportedOSPlatform("maccatalyst")]
protected internal override HttpResponseMessage Send(HttpRequestMessage request, CancellationToken cancellationToken) =>
_handler.Send(request, cancellationToken);
protected internal override HttpResponseMessage Send(HttpRequestMessage request,
CancellationToken cancellationToken)
{
return DiagnosticsHandler.IsEnabled() && _diagnosticsHandler != null ?
_diagnosticsHandler.Send(request, cancellationToken) :
_underlyingHandler.Send(request, cancellationToken);
}

protected internal override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request,
CancellationToken cancellationToken)
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.