5 writes to _leftToWrite
Microsoft.AspNetCore.Server.HttpSys (5)
RequestProcessing\ResponseBody.cs (5)
473
_leftToWrite
= 0;
477
_leftToWrite
= _requestContext.Response.ExpectedBodyLength;
481
_leftToWrite
= -1; // unlimited
506
_leftToWrite
-= writeCount;
765
_leftToWrite
= -1;
6 references to _leftToWrite
Microsoft.AspNetCore.Server.HttpSys (6)
RequestProcessing\ResponseBody.cs (6)
130
if (endOfRequest &&
_leftToWrite
> 0)
469
if (
_leftToWrite
== long.MinValue)
490
&& (
_leftToWrite
!= writeCount || _requestContext.Response.TrailersExpected))
503
if (
_leftToWrite
> 0)
508
if (
_leftToWrite
== 0 && !_requestContext.Response.TrailersExpected)
558
&&
_leftToWrite
< count)