Merge pull request #941 from lerry903/v5-dev

fix:github #940
This commit is contained in:
Golden Looly 2020-06-28 11:18:37 +08:00 committed by GitHub
commit db3d1a1572
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;
}