Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,6 @@ private Task<int> ConsumeReadAheadTask()
return null;
}

public bool IsNewConnection
{
get
{
// This is only valid when we are not actually processing a request.
Debug.Assert(_currentRequest == null);
return (_readAheadTask == null);
}
}

public bool CanRetry
{
get
Expand Down Expand Up @@ -1494,15 +1484,15 @@ private async Task CopyToExactLengthAsync(Stream destination, ulong length, Canc
}
}

public void Acquire()
internal void Acquire()
{
Debug.Assert(_currentRequest == null);
Debug.Assert(!_inUse);

_inUse = true;
}

public void Release()
internal void Release()
{
Debug.Assert(_inUse);

Expand Down
Loading