|
|
@ -126,14 +126,14 @@ public class NettyClientHandler extends ChannelInboundHandlerAdapter { |
|
|
|
if (!ch.isWritable()) { |
|
|
|
if (!ch.isWritable()) { |
|
|
|
if (logger.isWarnEnabled()) { |
|
|
|
if (logger.isWarnEnabled()) { |
|
|
|
logger.warn("{} is not writable, over high water level : {}", |
|
|
|
logger.warn("{} is not writable, over high water level : {}", |
|
|
|
new Object[]{ch, config.getWriteBufferHighWaterMark()}); |
|
|
|
ch, config.getWriteBufferHighWaterMark()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
config.setAutoRead(false); |
|
|
|
config.setAutoRead(false); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
if (logger.isWarnEnabled()) { |
|
|
|
if (logger.isWarnEnabled()) { |
|
|
|
logger.warn("{} is writable, to low water : {}", |
|
|
|
logger.warn("{} is writable, to low water : {}", |
|
|
|
new Object[]{ch, config.getWriteBufferLowWaterMark()}); |
|
|
|
ch, config.getWriteBufferLowWaterMark()); |
|
|
|
} |
|
|
|
} |
|
|
|
config.setAutoRead(true); |
|
|
|
config.setAutoRead(true); |
|
|
|
} |
|
|
|
} |
|
|
|