Found a design flaw - marking as fixme

This commit is contained in:
Trustin Lee 2009-01-13 13:00:07 +00:00
parent 6cac5c1fc8
commit d24de31206

View File

@ -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);
}