3 writes to m_CurrentRequest
System (3)
net\System\Net\_Connection.cs (3)
1582
m_CurrentRequest
= (HttpWebRequest)m_WriteList[0];
2549
if (m_WriteList.Count == 0 || ((
m_CurrentRequest
= m_WriteList[0] as HttpWebRequest) == null))
3491
m_CurrentRequest
= null;
24 references to m_CurrentRequest
System (24)
net\System\Net\_Connection.cs (24)
2213
GlobalLog.Leave("Connection#" + ValidationHelper.HashString(this) + "::ProcessHeaderData - ContentLength value in header: " + contentLengthString + ", HttpWebRequest#"+ValidationHelper.HashString(
m_CurrentRequest
));
2369
if (
m_CurrentRequest
== null)
2380
long contentLength = ProcessHeaderData(ref fHaveChunked,
m_CurrentRequest
, out dummyResponseStream);
2398
m_CurrentRequest
.ErrorStatusCodeNotify(this, m_KeepAlive, false);
2428
if (
m_CurrentRequest
.IsWebSocketRequest && m_ResponseData.m_StatusCode == HttpStatusCode.SwitchingProtocols)
2430
m_ResponseData.m_ConnectStream = new ConnectStream(this, m_ReadBuffer, m_BytesScanned, bufferLeft, bufferLeft, fHaveChunked,
m_CurrentRequest
);
2438
m_ResponseData.m_ConnectStream = new ConnectStream(this, m_ReadBuffer, m_BytesScanned, bytesToCopy, dummyResponseStream? 0: contentLength, fHaveChunked,
m_CurrentRequest
);
2446
m_ResponseData.m_ConnectStream = new ConnectStream(this, m_ReadBuffer, m_BytesScanned, bufferLeft, dummyResponseStream? 0: contentLength, fHaveChunked,
m_CurrentRequest
);
2455
ConnectionReturnResult.Add(ref returnResult,
m_CurrentRequest
, m_ResponseData.Clone());
2545
if (
m_CurrentRequest
== null)
2563
m_KeepAlive &= (
m_CurrentRequest
.KeepAlive ||
m_CurrentRequest
.NtlmKeepAlive);
2565
m_MaximumResponseHeadersLength =
m_CurrentRequest
.MaximumResponseHeadersLength * 1024;
2703
GlobalLog.Assert(
m_CurrentRequest
!= null, "Connection#{0}::ParseResponseData()|m_CurrentRequest == null", ValidationHelper.HashString(this));
2704
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::ParseResponseData() HttpWebRequest#" + ValidationHelper.HashString(
m_CurrentRequest
));
2711
&&
m_CurrentRequest
.HttpWriteMode==HttpWriteMode.Chunked
2727
m_CurrentRequest
.Saw100Continue = true;
2732
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::ParseResponseData() HttpWebRequest#" + ValidationHelper.HashString(
m_CurrentRequest
) + " ServicePoint#" + ValidationHelper.HashString(ServicePoint) + " sent UNexpected 100 Continue");
3185
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::HandleError() current HttpWebRequest#" + ValidationHelper.HashString(
m_CurrentRequest
));
3236
HttpWebRequest curRequest =
m_CurrentRequest
;
3456
HttpWebRequest curRequest =
m_CurrentRequest
;
3488
currentRequest =
m_CurrentRequest
;
3604
HttpWebRequest curRequest =
m_CurrentRequest
;
3714
HttpWebRequest curRequest =
m_CurrentRequest
;