original barchart-udt
git ignore native library extract location
git ignore native library extract location
move example to own project
[#857] Check if the SelectionKey is valid before access readyOps()
Replace sun.net.util.IPAddressUtil usage with own implementation
Merge IPUtil and NetworkConstants into IpAddresses and also make naming of methods consistent
Rename IpAddresses to NetUtil
Added test cases for NetUtil methods, if we can`t convertAddress we return null
Merge remote-tracking branch 'archon/master'
pull request cleanup
[#872] AbstractNioByteChannel and AbstractNioMessageChannel should be public
Merge remote-tracking branch 'archon/master'
[#840] Generate the tarball with top level directory
[#879] Notify correct ChannelFuture for queued FileRegions
[#880] correctly use methods which take a ChannelFuture as parameter
Read only when requested (read-on-demand)

This pull request introduces a new operation called read() that replaces the existing inbound traffic control method. EventLoop now performs socket reads only when the read() operation has been issued. Once the requested read() operation is actually performed, EventLoop triggers an inboundBufferSuspended event that tells the handlers that the requested read() operation has been performed and the inbound traffic has been suspended again. A handler can decide to continue reading or not.

Unlike other outbound operations, read() does not use ChannelFuture at all to avoid GC cost. If there's a good reason to create a new future per read at the GC cost, I'll change this.

This pull request consequently removes the readable property in ChannelHandlerContext, which means how the traffic control works changed significantly.

This pull request also adds a new configuration property ChannelOption.AUTO_READ whose default value is true. If true, Netty will call ctx.read() for you. If you need a close control over when read() is called, you can set it to false.

Another interesting fact is that non-terminal handlers do not really need to call read() at all. Only the last inbound handler will have to call it, and that's just enough. Actually, you don't even need to call it at the last handler in most cases because of the ChannelOption.AUTO_READ mentioned above.

There's no serious backward compatibility issue. If the compiler complains your handler does not implement the read() method, add the following:

public void read(ChannelHandlerContext ctx) throws Exception {
    ctx.read();
}

Note that this pull request certainly makes bounded inbound buffer support very easy, but itself does not add the bounded inbound buffer support.
[#873] [#868] Split ChannelFuture into ChannelFuture and ChannelPromise
Remove ChannelFutureProgressListener
Fix a bug in AioSocketChannel where recursive doBeginRead() is allowed unexpectedly