Postponing of ChunkedWriteHandlers hasNextChunk retrieval after write operation
Tuomas Kiviaho
tuomas.kiviaho at iki.fi
Wed Nov 18 07:01:33 EST 2009
I was having a deadlock in my simple unit test sing PipedInputStream and
PipedOutputStream with ChunkedWriteHandler. I discovered that
ChunkedWriteHandler checks for next chunk prior writing out the current
chunk.
What if next chunk check is postponed after write operation? It doesn't seem
to be impossible at first glance but I guess there's a good reason for this
kind of implementation.
--
Tuomas
--
View this message in context: http://n2.nabble.com/Postponing-of-ChunkedWriteHandlers-hasNextChunk-retrieval-after-write-operation-tp4024971p4024971.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list