Go to file
Trustin Lee 95e8ec1db9 Handle the case where JDK notifies aync I/O handler immediately
After some debugging, I found that JDK AIO implementation often performs
I/O immediately from the caller thread if the caller thread is the I/O
thread, and notifies the completion handler also immediately.  This
commit handles such a case correctly during reads and writes.

Additionally, this commit also changes SingleThreadEventExecutor to let
it handle unexpected exceptions such as AssertionError in a robus
manner.
2012-12-02 20:03:35 +09:00
all Only generate OSGi manifest only at all-in-on sub module to reduce the complexity to the build 2012-11-19 06:27:18 +01:00
buffer Fix inspector warnings introduced by recent mergences 2012-11-30 23:01:57 +09:00
codec Fix more inspector warnings introduced by recent mergences 2012-12-01 00:10:42 +09:00
codec-http ByteBufAllocator API w/ ByteBuf perf improvements 2012-11-22 15:10:59 +09:00
codec-socks Fix more inspector warnings introduced by recent mergences 2012-12-01 00:10:42 +09:00
common Fix all Xlint:unchecked warnings 2012-11-30 22:49:51 +09:00
example Fix more inspector warnings introduced by recent mergences 2012-12-01 00:10:42 +09:00
handler Fix inspector warnings introduced by recent mergences 2012-11-30 23:01:57 +09:00
license Added webbit license and credits 2011-10-27 10:34:37 +11:00
metrics-yammer Only generate OSGi manifest only at all-in-on sub module to reduce the complexity to the build 2012-11-19 06:27:18 +01:00
tarball [maven-release-plugin] prepare for next development iteration 2012-11-05 23:08:39 +01:00
testsuite Implement Bootstrap.toString() and use it in the testsuite 2012-11-26 16:14:24 +09:00
transport Handle the case where JDK notifies aync I/O handler immediately 2012-12-02 20:03:35 +09:00
.fbfilter.xml Update license headers 2012-06-04 13:31:44 -07:00
.fbprefs Updated Find Bugs configuration 2009-03-04 10:33:09 +00:00
.gitignore ignore .idea/ folder 2012-01-16 16:01:00 +08:00
LICENSE.txt Relicensed to Apache License v2 2009-08-28 07:15:49 +00:00
NOTICE.txt More copyright updates 2011-12-09 14:28:48 +09:00
pom.xml Enable assertions only for Netty classes 2012-11-26 15:01:13 +09:00
README.md Fix README 2012-09-08 20:20:45 +02:00

The Netty Project

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients.

Getting Netty

    <dependencies>
      ...
      <dependency>
        <groupId>io.netty</groupId>
        <artifactId>netty</artifactId>
        <version>X.Y.Z.Q</version>
        <scope>compile</scope>
      </dependency>
      ...
    </dependencies>

Developer Information

  • Netty is setup to build using Maven

  • You need JDK 7 to build Netty. Netty will run with JDK 5 (3.x) and JDK 6 (4).

  • master branch contains code for Netty 4.x

  • 3 branch contains code for Netty 3.x