优化ProtocolCodec.start
This commit is contained in:
@@ -109,7 +109,7 @@ class ProtocolCodec implements CompletionHandler<Integer, ByteBuffer> {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
channel.startRead(this);
|
||||
channel.readRegisterInIOThread(this);
|
||||
} catch (Exception te) {
|
||||
channel.dispose();// response.init(channel); 在调用之前异常
|
||||
if (context.logger.isLoggable(Level.FINEST)) {
|
||||
|
||||
Reference in New Issue
Block a user