DotNetty
DotNetty copied to clipboard
System.ObjectDisposedException: Cannot access a disposed object. Object name: 'SslStream'.
A tcp server with tls enabled, occurred not very often while holding 1k concurrent connections. I think it's likely we are trying to send data to client but the connection is already disconnected. Is it a bug or I can just ignore this exception?
at System.Net.Security.SslState.ThrowIfExceptional() at System.Net.Security.SslState.CheckThrow(Boolean authSuccessCheck, Boolean shutdownCheck) at System.Net.Security.SslState.get_SecureStream() at System.Net.Security.SslStream.Write(Byte[] buffer, Int32 offset, Int32 count) at DotNetty.Buffers.PooledHeapByteBuffer.GetBytes(Int32 index, Stream destination, Int32 length) at DotNetty.Buffers.AbstractByteBuffer.ReadBytes(Stream destination, Int32 length) at DotNetty.Handlers.Tls.TlsHandler.Wrap(IChannelHandlerContext context) at DotNetty.Handlers.Tls.TlsHandler.Flush(IChannelHandlerContext context) at DotNetty.Transport.Channels.AbstractChannelHandlerContext.InvokeFlush0()