netty5/transport/src
buchgr 0fbb791ad6 Make AbstractChannel.outboundBuffer volatile.
Motivation:

The field can be read from arbitrary threads via Channel.(isWritable()|bytesBeforeWritable()|bytesBeforeUnwritable()), WriteAndFlushTask.newInstance(), PendingWriteQueue, etc.

Modifications:

Make AbstractChannel.outboundBuffer volatile.

Result:

More correct in a concurrent use case.
2016-07-06 21:25:33 +02:00
..
main/java/io/netty Make AbstractChannel.outboundBuffer volatile. 2016-07-06 21:25:33 +02:00
test/java/io/netty AbstractBootstrap can crash instead of failing promise, close #5387 2016-06-13 18:59:09 +02:00