netty / netty-incubator-codec-http3

Experimental HTTP3 codec on top of QUIC
Apache License 2.0
167 stars 35 forks source link

Drain queued writes when Http3FrameCodec is removed #280

Closed normanmaurer closed 7 months ago

normanmaurer commented 7 months ago

Motivation:

We need to ensure we drain all the previous queued writes when the Http3FrameCodec is removed. Failing to do so might result in leaks and missing writes.

Modifications:

Override handlerRemoved0(...) and drain all writes

Result:

No more possible leaks when handler is removed