SpanNetty
SpanNetty copied to clipboard
Port of Netty(v4.1.51.Final) for .NET
When TLS connection is gettings closed, TlsHandler tries to mark all pending writes as failed by creating fail task. If there's no pending writes, this task will be left unobserved.
Problem: When server certificate validation fails, client SslStream tries to write Encryption Alert TLS message to the underlying stream. It fails with NRE trying to use uninitialized TlsHandler._lastContextWritePromise. Solution: use...
Problem: promise associated with writing empty buffer to TlsHandler never completes because EmptyByteBuffer doesn't write anything on .ReadBytes call to passed stream: https://github.com/cuteant/SpanNetty/blob/9f31f09ca110c6a3994966f860ee54b6a1836d75/src/DotNetty.Handlers/Tls/TlsHandler.Writer.cs#L171 Minimal repro: https://github.com/maksimkim/DotNetty/blob/2a35ea6df4b57f33997cb00702a1c712d6a17c6b/examples/HttpClient/Program.cs#L60 await channel.WriteAndFlushAsync(EmptyLastHttpContent.Default) never completes....
Unlike DotNetty, SpanNetty will throw RejectedExecutionException when try to submit to a eventloop after it's stopped. But unluckly it's not catched on callback of IOCP, then it will leak to...
Would love to hear from you -> [email protected] https://github.com/NethermindEth/nethermind
I want to use a simple HTTP framework for straight forward requirement and want to experiment with SpanNetty, as I heard to be an actively maintained port of Netty. my...
I'm new to Netty, still learning it and trying to make a proxy supporting HTTP/2. I'm using Http2Tiles as the target server (https://127.0.0.1:8443) My client bootstrap (MyClient.clientBootStrap) wait infinitely when...