Update AioSession.java

fix:github #940
This commit is contained in:
lerry903 2020-06-26 19:20:47 +08:00 committed by GitHub
parent 8bb47018e6
commit 6f1b52cff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,8 @@ public class AioSession implements Closeable{
this.channel = channel;
this.readBuffer = ByteBuffer.allocate(config.getReadBufferSize());
this.writeBuffer = ByteBuffer.allocate(config.getWriteBufferSize());
this.readTimeout = config.getReadTimeout();
this.writeTimeout = config.getWriteTimeout();
this.ioAction = ioAction;
}