Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CompleteResponse()

void System.Net.Http.HttpConnection.CompleteResponse ( )
inlineprivate

Definition at line 2556 of file HttpConnection.cs.

2557 {
2558 _currentRequest = null;
2559 if (_readLength != _readOffset)
2560 {
2561 if (System.Net.NetEventSource.Log.IsEnabled())
2562 {
2563 Trace("Unexpected data on connection after response read.", "CompleteResponse");
2564 }
2565 _readOffset = (_readLength = 0);
2566 _connectionClose = true;
2567 }
2568 if (!_inUse)
2569 {
2571 }
2572 }
override void Trace(string message, [CallerMemberName] string memberName=null)
static readonly System.Net.NetEventSource Log

References System.Net.Http.HttpConnection._connectionClose, System.Net.Http.HttpConnection._currentRequest, System.Net.Http.HttpConnection._inUse, System.Net.Http.HttpConnection._readLength, System.Net.Http.HttpConnection._readOffset, System.Net.NetEventSource.Log, System.Net.Http.HttpConnection.ReturnConnectionToPool(), and System.Net.Http.HttpConnection.Trace().

Referenced by System.Net.Http.HttpConnection.ContentLengthReadStream.Finish(), System.Net.Http.HttpConnection.ContentLengthReadStream.Read(), System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(), System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(), and System.Net.Http.HttpConnection.SendAsyncCore().