Expected behavior
When a ChunkedWriteHandler attempts tp pass-through write to a closed channel, the write promise fails
Actual behavior
ChunkedWriteHandler tries to discard a closed channel but since it have not added any work to its queue, it will NOOP. This will cause the passed down Promise in write to never err
Steps to reproduce
Close a channel during writing in a chain with a ChunkedWriteHandler
Minimal yet complete reproducer code (or URL to code)
TBD
Netty version
From 4.1.105, introduced by this commit
ce0366b
JVM version (e.g. java -version)
openjdk 21.0.2 2024-01-16 LTS
OS version (e.g. uname -a)
Darwin F7VN9D7X30 23.6.0 Darwin Kernel Version 23.6.0: Fri Jul 5 17:56:41 PDT 2024; root:xnu-10063.141.1~2/RELEASE_ARM64_T6000 arm64 arm Darwin
Expected behavior
When a ChunkedWriteHandler attempts tp pass-through write to a closed channel, the write promise fails
Actual behavior
ChunkedWriteHandler tries to discard a closed channel but since it have not added any work to its queue, it will NOOP. This will cause the passed down Promise in
writeto never errSteps to reproduce
Close a channel during writing in a chain with a
ChunkedWriteHandlerMinimal yet complete reproducer code (or URL to code)
TBD
Netty version
From 4.1.105, introduced by this commit
ce0366b
JVM version (e.g.
java -version)openjdk 21.0.2 2024-01-16 LTS
OS version (e.g.
uname -a)Darwin F7VN9D7X30 23.6.0 Darwin Kernel Version 23.6.0: Fri Jul 5 17:56:41 PDT 2024; root:xnu-10063.141.1~2/RELEASE_ARM64_T6000 arm64 arm Darwin