1 write to m_WriteList
System (1)
net\System\Net\_Connection.cs (1)
496
m_WriteList
= new ArrayList();
42 references to m_WriteList
System (42)
net\System\Net\_Connection.cs (42)
545
return (m_ReadDone?0:1) + 2 * (m_WaitList.Count +
m_WriteList
.Count) + m_ReservedCount;
674
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::SubmitRequest WriteDone:" + m_WriteDone.ToString() + ", ReadDone:" + m_ReadDone.ToString() + ", m_WriteList.Count:" +
m_WriteList
.Count.ToString());
698
if (m_Free && m_WriteDone && (
m_WriteList
.Count == 0 || (request.Pipelined && !request.HasEntityBody && m_CanPipeline && m_Pipelining && !m_IsPipelinePaused && !forcedsubmit))) {
710
Debug.Assert(
m_WriteList
.Count == 0);
840
" WriteList:" +
m_WriteList
.Count);
845
if (
m_WriteList
.Count == 0)
890
m_IsPipelinePaused =
m_WriteList
.Count >= s_MaxPipelinedCount;
898
m_WriteList
.Add(request);
900
GlobalLog.Print(
m_WriteList
.Count+" requests queued");
1028
m_IsPipelinePaused =
m_WriteList
.Count > s_MinPipelinedCount;
1031
if (
m_WriteList
.Count != 0) {
1234
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::WriteStartNextRequest() m_WriteList.Count:" +
m_WriteList
.Count);
1268
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::WriteStartNextRequest() Non-Error m_WriteList.Count:" +
m_WriteList
.Count + " m_WaitList.Count:" + m_WaitList.Count);
1311
GlobalLog.Enter("Connection#" + ValidationHelper.HashString(this) + "::WriteStartNextRequest" + " WriteDone:" + m_WriteDone + " ReadDone:" + m_ReadDone + " WaitList:" + m_WaitList.Count + " WriteList:" +
m_WriteList
.Count);
1369
GlobalLog.Enter("Connection#" + ValidationHelper.HashString(this) + "::ReadStartNextRequest" + " WriteDone:" + m_WriteDone + " ReadDone:" + m_ReadDone + " WaitList:" + m_WaitList.Count + " WriteList:" +
m_WriteList
.Count);
1384
if (
m_WriteList
.Count > 0 && (object)currentRequest ==
m_WriteList
[0])
1388
m_WriteList
.RemoveAt(0);
1393
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::ReadStartNextRequest() Removed request#" + ValidationHelper.HashString(currentRequest) + " from m_WriteList. New m_WriteList.Count:" +
m_WriteList
.Count.ToString());
1397
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::ReadStartNextRequest() The request#" + ValidationHelper.HashString(currentRequest) + " was disassociated so do nothing. m_WriteList.Count:" +
m_WriteList
.Count.ToString());
1454
if (
m_WriteList
.Count != 0)
1457
nextRequest =
m_WriteList
[0] as HttpWebRequest;
1567
if (
m_WriteList
.Count == 0)
1575
if (!m_ReadDone ||
m_WriteList
[0] != (object)request)
1582
m_CurrentRequest = (HttpWebRequest)
m_WriteList
[0];
2549
if (
m_WriteList
.Count == 0 || ((m_CurrentRequest =
m_WriteList
[0] as HttpWebRequest) == null))
2770
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::ParseResponseData()" + " WriteDone:" + m_WriteDone + " ReadDone:" + m_ReadDone + " WaitList:" + m_WaitList.Count + " WriteList:" +
m_WriteList
.Count);
2816
int idx =
m_WriteList
.IndexOf(request);
2934
if (
m_WriteList
.Count != 0 || m_WaitList.Count != 0)
2937
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::PrepareCloseConnectionSocket() m_WriteList.Count:" +
m_WriteList
.Count);
2949
foreach (HttpWebRequest request in
m_WriteList
)
2987
if (
m_WriteList
.Count != 0)
3055
if (
m_WriteList
.Count != 1)
3064
HttpWebRequest request = (HttpWebRequest)
m_WriteList
[0];
3070
retry = (!AtLeastOneResponseReceived && !((HttpWebRequest)
m_WriteList
[0]).BodyStarted);
3086
requestArray = new HttpWebRequest[
m_WriteList
.Count];
3087
m_WriteList
.CopyTo(requestArray, 0);
3101
m_WriteList
.Clear();
3182
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::HandleError() m_WriteList.Count:" +
m_WriteList
.Count +
3888
for (int i = 0; i <
m_WriteList
.Count; i++)
3890
DebugDumpListEntry(i,
m_WriteList
[i] as HttpWebRequest, "WriteList");