Open
Description
Expected behavior
I would have expected writeOutbound
to have identical behaviour to writeInbound
in that it should throw if either or both of the following are true:
- A promise is failed
- A handler calls
context.fireErrorCaught
Actual behavior
If the promise isn't failed but fireErrorCaught
is called then writeOutbound
doesn't throw, but writeInbound
does.
Note
This should probably be fixed as part of NIO 3, as it's possible for a lot of project's tests to suddenly begin failing if this is fixed.