Found a design flaw - marking as fixme
This commit is contained in:
parent
6cac5c1fc8
commit
d24de31206
@ -267,6 +267,7 @@ class NioWorker implements Runnable {
|
||||
|
||||
if (preallocatedBuffer == null) {
|
||||
// TODO Magic number
|
||||
// FIXME: OOPS - the new buffer should not be shared by more than one connection
|
||||
preallocatedBuffer = channel.getConfig().getBufferFactory().getBuffer(1048576);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user