f2295628e9
__Motivation__ `ApplicationProtocolNegotiationHandler` buffers messages which are read before SSL handshake complete event is received and drains them when the handler is removed. However, the channel may be closed (or input shutdown) before SSL handshake event is received in which case we may fire channel read after channel closure (from `handlerRemoved()`). __Modification__ Intercept `channelInactive()` and input closed event and drain the buffer. __Result__ If channel is closed before SSL handshake complete event is received, we still maintain the order of message read and channel closure. Co-authored-by: Norman Maurer <norman_maurer@apple.com> |
||
---|---|---|
.. | ||
src | ||
pom.xml |