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