netty / netty-incubator-codec-quic

Apache License 2.0
303 stars 72 forks source link

Correctly handle the case when write happens after close #611

Closed normanmaurer closed 1 year ago

normanmaurer commented 1 year ago

Motivation:

When writing to a closed or shutdown QuicStreamChannel we should fail the write directly with the right exception without validating the type first. This is what we do in other Channels as well so we should be consistent

Modifications:

Result:

More consistent behaviour