Base:
method
Trace
System.Net.Http.HttpConnectionBase.Trace(System.String, System.String)
33 references to Trace
System.Net.Http (33)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (4)
41
if (NetEventSource.Log.IsEnabled()) connection.
Trace
("Found expired HTTP/1.1 connection in pool.");
48
if (NetEventSource.Log.IsEnabled()) connection.
Trace
("Found invalid HTTP/1.1 connection in pool.");
53
if (NetEventSource.Log.IsEnabled()) connection.
Trace
("Found usable HTTP/1.1 connection in pool.");
331
if (NetEventSource.Log.IsEnabled()) connection.
Trace
("Disposing HTTP/1.1 connection when returning to pool. Connection lifetime expired.");
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (27)
102
if (NetEventSource.Log.IsEnabled())
Trace
("Connection closing.");
185
if (NetEventSource.Log.IsEnabled())
Trace
($"Error performing read ahead: {error}");
265
if (NetEventSource.Log.IsEnabled())
Trace
("Read-ahead task observed data before the request was sent.");
272
if (NetEventSource.Log.IsEnabled())
Trace
($"Error performing read ahead: {error}");
549
if (NetEventSource.Log.IsEnabled())
Trace
($"Sending request: {request}");
568
if (NetEventSource.Log.IsEnabled())
Trace
($"Request content is not null, start processing it. hasExpectContinueHeader = {hasExpectContinueHeader}");
630
Trace
($"Pre-emptive read completed asynchronously for a synchronous request.");
638
if (NetEventSource.Log.IsEnabled())
Trace
($"Received {bytesRead} bytes.");
698
if (NetEventSource.Log.IsEnabled())
Trace
($"Current {response.StatusCode} response is an interim response or not expected, need to read for a final response.");
769
if (NetEventSource.Log.IsEnabled())
Trace
("Request is fully sent.");
832
if (NetEventSource.Log.IsEnabled())
Trace
($"Received response: {response}");
861
if (NetEventSource.Log.IsEnabled())
Trace
($"Error sending request: {error}");
963
if (NetEventSource.Log.IsEnabled()) connection.
Trace
("Cancellation requested. Disposing of the connection.");
991
if (NetEventSource.Log.IsEnabled())
Trace
("Finished sending request content.");
1008
if (NetEventSource.Log.IsEnabled())
Trace
($"Sending request content for Expect: 100-continue.");
1023
if (NetEventSource.Log.IsEnabled())
Trace
($"Canceling request content for Expect: 100-continue.");
1568
if (NetEventSource.Log.IsEnabled())
Trace
($"Writing {source.Length} bytes.");
1574
if (NetEventSource.Log.IsEnabled())
Trace
($"Writing {source.Length} bytes.");
1634
if (NetEventSource.Log.IsEnabled())
Trace
($"Received {bytesRead} bytes.");
1650
if (NetEventSource.Log.IsEnabled())
Trace
($"Received {bytesRead} bytes.");
1769
if (NetEventSource.Log.IsEnabled())
Trace
($"Received {count} bytes.");
1794
if (NetEventSource.Log.IsEnabled())
Trace
($"Received {count} bytes.");
1817
if (NetEventSource.Log.IsEnabled())
Trace
($"Received {bytesRead} bytes.");
1850
if (NetEventSource.Log.IsEnabled())
Trace
($"Received {bytesRead} bytes.");
1861
if (NetEventSource.Log.IsEnabled())
Trace
($"Copying {count} bytes to stream.");
2052
Trace
("Unexpected data on connection after response read.");
2112
Trace
("Connection will not be reused.");
System\Net\Http\SocketsHttpHandler\HttpContentReadStream.cs (2)
82
connection.
Trace
(drained ?
91
connection.
Trace
($"Connection drain failed due to exception: {e}");