3 writes to _requestContentLengthRemaining
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (3)
444
_requestContentLengthRemaining
= content.Headers.ContentLength ?? -1;
462
_requestContentLengthRemaining
= 0;
501
_requestContentLengthRemaining
-= buffer.Length;
5 references to _requestContentLengthRemaining
System.Net.Http (5)
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (5)
453
if (
_requestContentLengthRemaining
> 0)
457
long sent = contentLength -
_requestContentLengthRemaining
;
492
long remaining =
_requestContentLengthRemaining
;
497
if (buffer.Length >
_requestContentLengthRemaining
)
1382
if (
_requestContentLengthRemaining
!= 0) // 0 is used for the end of content writing, -1 is used for unknown Content-Length