Skip to content

Commit

Permalink
add ChannelIsNotWritable
Browse files Browse the repository at this point in the history
  • Loading branch information
lyl2008dsg committed Jan 4, 2025
1 parent f738f3e commit 4ba1621
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ public void channelInactive(ChannelHandlerContext ctx) throws Exception {
LOGGER.info("channel inactive: {}", ctx.channel());
}
clientChannelManager.releaseChannel(ctx.channel(), NetUtil.toStringAddress(ctx.channel().remoteAddress()));
failFuturesForChannel(ctx.channel(), new FrameworkException("Channel inactive"));
failFuturesForChannel(ctx.channel(), new FrameworkException(FrameworkErrorCode.ChannelIsNotWritable));
super.channelInactive(ctx);
}

Expand Down

0 comments on commit 4ba1621

Please sign in to comment.