2 writes to m_Connection
System (2)
net\System\Net\_ConnectStream.cs (2)
203
m_Connection
= connection;
261
m_Connection
= connection;
57 references to m_Connection
System (57)
net\System\Net\_ConnectStream.cs (57)
219
GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::.ctor() Connection:" + ValidationHelper.HashString(
m_Connection
) + " BytesToWrite:" + BytesLeftToWrite);
265
m_ChunkParser = new ChunkParser(
m_Connection
, buffer, offset, bufferCount,
279
GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::.ctor() Connection:" + ValidationHelper.HashString(
m_Connection
) +
304
return
m_Connection
;
408
m_Connection
.SetLeftoverBytes(leftoverBuffer, leftoverBufferOffset, leftoverBufferSize);
411
m_Connection
.ReadStartNextRequest(m_Request, ref returnResult);
431
m_Connection
.WriteStartNextRequest(m_Request, ref returnResult);
446
m_Connection
.SyncRead(m_Request, true, false);
635
m_Connection
.Write(bufferedData);
645
m_Connection
.Write(NclConstants.ChunkTerminator, 0, NclConstants.ChunkTerminator.Length);
664
m_Connection
.MultipleWrite(sendBuffers);
865
GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::BeginWrite " + ValidationHelper.HashString(
m_Connection
) + ", " + offset.ToString() + ", " + size.ToString());
997
m_Connection
.BeginMultipleWrite(buffers, m_WriteCallbackDelegate, asyncResult);
1001
m_Connection
.MultipleWrite(buffers);
1095
m_Connection
.BeginWrite(buffer, offset, size, m_WriteCallbackDelegate, asyncResult);
1104
m_Connection
.Write(buffer, offset, size);
1207
m_Connection
.EndWrite(asyncResult);
1236
m_Connection
.EndMultipleWrite(asyncResult);
1630
GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::BeginRead() " + ValidationHelper.HashString(
m_Connection
) + ", " + offset.ToString() + ", " + size.ToString());
1726
GlobalLog.Enter("ConnectStream#" + ValidationHelper.HashString(this) + "::BeginReadWithoutValidation", ValidationHelper.HashString(
m_Connection
) + ", " + offset.ToString() + ", " + size.ToString());
1789
IAsyncResult asyncResult =
m_Connection
.BeginRead(buffer, offset, bytesToRead, callback, state);
1837
bytesToRead =
m_Connection
.Read(
1876
int bytesTransferred = thisConnectStream.
m_Connection
.EndRead(asyncResult);
1984
bytesTransferred =
m_Connection
.EndRead(asyncResult);
2110
GlobalLog.Enter("ConnectStream#" + ValidationHelper.HashString(stream) + "::WriteHeadersCallback", "Connection#" + ValidationHelper.HashString(stream.
m_Connection
) + ", " + request.WriteBufferLength.ToString());
2113
stream.
m_Connection
.EndWrite(ar);
2118
if (stream.
m_Connection
.m_InnerException != null)
2119
throw stream.
m_Connection
.m_InnerException;
2136
stream.
m_Connection
.CheckStartReceive(request);
2138
if (stream.
m_Connection
.m_InnerException != null)
2139
throw stream.
m_Connection
.m_InnerException;
2169
GlobalLog.Enter("ConnectStream#" + ValidationHelper.HashString(this) + "::WriteHeaders", "Connection#" + ValidationHelper.HashString(
m_Connection
) + ", headers buffer size = " + m_Request.WriteBufferLength.ToString());
2189
IAsyncResult ar =
m_Connection
.UnsafeBeginWrite(writeBuffer,0,writeBufferLength, m_WriteHeadersCallback, state);
2193
m_Connection
.EndWrite(ar);
2214
m_Connection
.Write(writeBuffer, 0, writeBufferLength);
2255
m_Connection
.CheckStartReceive(m_Request);
2260
m_Connection
.CheckStartReceive(m_Request);
2283
if (!
m_Connection
.AtLeastOneResponseReceived && !m_Request.BodyStarted) {
2294
m_Connection
.AtLeastOneResponseReceived ? WebExceptionInternalStatus.Isolated : WebExceptionInternalStatus.RequestFatal,
2307
TlsStream tlsStream =
m_Connection
.NetworkStream as TlsStream;
2320
m_Connection
.PollAndRead(m_Request, userRetrievedStream);
2335
Connection connection =
m_Connection
;
2364
Connection connection =
m_Connection
;
2445
m_Connection
.Write(NclConstants.ChunkTerminator, 0, NclConstants.ChunkTerminator.Length);
2449
m_Connection
.BeginWrite(NclConstants.ChunkTerminator, 0, NclConstants.ChunkTerminator.Length, new AsyncCallback(ResumeClose_Part2_Wrapper), userResult);
2463
m_Connection
.EndWrite(ar);
2480
m_Connection
.AbortSocket(true);
2580
Connection connection =
m_Connection
;
2620
m_Connection
.Write(NclConstants.ChunkTerminator, 0, NclConstants.ChunkTerminator.Length);
2633
m_Connection
.AbortSocket(true);
2707
m_Connection
.AbortSocket(true);
2899
m_Connection
.AbortSocket(false);
2911
NetworkStream networkStream =
m_Connection
.NetworkStream;
2962
m_Connection
.AbortSocket(false);
3023
GlobalLog.Enter("ConnectStream#" + ValidationHelper.HashString(this) + "::IOError", "Connection# " + ValidationHelper.HashString(
m_Connection
));
3049
m_Connection
.HandleConnectStreamException(true, false, WebExceptionStatus.SendFailure, ref returnResult, m_ErrorException);
3051
m_Connection
.HandleConnectStreamException(false, true, WebExceptionStatus.ReceiveFailure, ref returnResult, m_ErrorException);