You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
method has catch the exception public void sendResponse(ChannelHandlerContext ctx, DefaultFullHttpResponse response) { ctx.writeAndFlush(response).addListener(new ChannelFutureListener() { @Override public void operationComplete(ChannelFuture f) throws Exception { if (!f.isSuccess()) { httpLogger.warn("send response to [{}] fail, will close this channel", RemotingHelper.parseChannelRemoteAddr(f.channel())); f.channel().close(); return; } } }); }
The text was updated successfully, but these errors were encountered:
method has catch the exception
public void sendResponse(ChannelHandlerContext ctx, DefaultFullHttpResponse response) { ctx.writeAndFlush(response).addListener(new ChannelFutureListener() { @Override public void operationComplete(ChannelFuture f) throws Exception { if (!f.isSuccess()) { httpLogger.warn("send response to [{}] fail, will close this channel", RemotingHelper.parseChannelRemoteAddr(f.channel())); f.channel().close(); return; } } }); }
The text was updated successfully, but these errors were encountered: