Sync shared code from runtime (#23430)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
a07449123a
commit
5a22c49ff3
|
|
@ -14,13 +14,13 @@ namespace System.Net.Quic.Implementations.Mock
|
|||
internal sealed class MockConnection : QuicConnectionProvider
|
||||
{
|
||||
private readonly bool _isClient;
|
||||
private bool _disposed = false;
|
||||
private bool _disposed;
|
||||
private IPEndPoint? _remoteEndPoint;
|
||||
private IPEndPoint? _localEndPoint;
|
||||
private object _syncObject = new object();
|
||||
private Socket? _socket = null;
|
||||
private IPEndPoint? _peerListenEndPoint = null;
|
||||
private TcpListener? _inboundListener = null;
|
||||
private Socket? _socket;
|
||||
private IPEndPoint? _peerListenEndPoint;
|
||||
private TcpListener? _inboundListener;
|
||||
private long _nextOutboundBidirectionalStream;
|
||||
private long _nextOutboundUnidirectionalStream;
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace System.Net.Quic.Implementations.Mock
|
|||
{
|
||||
internal sealed class MockListener : QuicListenerProvider
|
||||
{
|
||||
private bool _disposed = false;
|
||||
private bool _disposed;
|
||||
private SslServerAuthenticationOptions? _sslOptions;
|
||||
private IPEndPoint _listenEndPoint;
|
||||
private TcpListener _tcpListener;
|
||||
|
|
|
|||
|
|
@ -13,14 +13,14 @@ namespace System.Net.Quic.Implementations.Mock
|
|||
{
|
||||
internal sealed class MockStream : QuicStreamProvider
|
||||
{
|
||||
private bool _disposed = false;
|
||||
private bool _disposed;
|
||||
private readonly long _streamId;
|
||||
private bool _canRead;
|
||||
private bool _canWrite;
|
||||
|
||||
private MockConnection? _connection;
|
||||
|
||||
private Socket? _socket = null;
|
||||
private Socket? _socket;
|
||||
|
||||
// Constructor for outbound streams
|
||||
internal MockStream(MockConnection connection, long streamId, bool bidirectional)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace System.Net.Quic.Implementations.MsQuic.Internal
|
|||
{
|
||||
internal sealed class MsQuicSession : IDisposable
|
||||
{
|
||||
private bool _disposed = false;
|
||||
private bool _disposed;
|
||||
private IntPtr _nativeObjPtr;
|
||||
private bool _opened;
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ namespace System.Net.Quic.Implementations.MsQuic
|
|||
// Used by the class to indicate that the stream is writable.
|
||||
private readonly bool _canWrite;
|
||||
|
||||
private volatile bool _disposed = false;
|
||||
private volatile bool _disposed;
|
||||
|
||||
private List<QuicBuffer> _receiveQuicBuffers = new List<QuicBuffer>();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue