4 writes to m_LeftToWrite
System (4)
net\System\Net\_ListenerResponseStream.cs (4)
37
m_LeftToWrite
= method != UnsafeNclNativeMethods.HttpApi.HTTP_VERB.HttpVerbHEAD ? m_HttpContext.Response.ContentLength64 : 0;
365
m_LeftToWrite
-= dataWritten;
449
m_LeftToWrite
= 0;
462
m_LeftToWrite
= long.MaxValue;
17 references to m_LeftToWrite
System (17)
net\System\Net\_ListenerResponseStream.cs (17)
30
GlobalLog.Print("HttpResponseStream#" + ValidationHelper.HashString(this) + "::ComputeLeftToWrite() on entry m_LeftToWrite:" +
m_LeftToWrite
);
35
if (
m_LeftToWrite
==long.MinValue) {
38
GlobalLog.Print("HttpResponseStream#" + ValidationHelper.HashString(this) + "::ComputeLeftToWrite() computed m_LeftToWrite:" +
m_LeftToWrite
);
140
if (m_Closed || (size == 0 &&
m_LeftToWrite
!= 0)) {
144
if (
m_LeftToWrite
>=0 && size>
m_LeftToWrite
) {
184
flags |=
m_LeftToWrite
== size ? UnsafeNclNativeMethods.HttpApi.HTTP_FLAGS.NONE : UnsafeNclNativeMethods.HttpApi.HTTP_FLAGS.HTTP_SEND_RESPONSE_FLAG_MORE_DATA;
246
if (m_Closed || (size == 0 &&
m_LeftToWrite
!= 0)) {
252
if (
m_LeftToWrite
>=0 && size>
m_LeftToWrite
) {
258
flags |=
m_LeftToWrite
==size ? UnsafeNclNativeMethods.HttpApi.HTTP_FLAGS.NONE : UnsafeNclNativeMethods.HttpApi.HTTP_FLAGS.HTTP_SEND_RESPONSE_FLAG_MORE_DATA;
360
GlobalLog.Print("HttpResponseStream#" + ValidationHelper.HashString(this) + "::UpdateAfterWrite() dataWritten:" + dataWritten + " m_LeftToWrite:" +
m_LeftToWrite
+ " m_Closed:" + m_Closed);
363
if (
m_LeftToWrite
>0) {
367
if (
m_LeftToWrite
==0) {
372
GlobalLog.Print("HttpResponseStream#" + ValidationHelper.HashString(this) + "::UpdateAfterWrite() dataWritten:" + dataWritten + " m_LeftToWrite:" +
m_LeftToWrite
+ " m_Closed:" + m_Closed);
387
if (
m_LeftToWrite
>0 && !m_InOpaqueMode) {
391
if (sentHeaders &&
m_LeftToWrite
==0) {