Netty project - an event-driven asynchronous network application framework
Java C Shell Groovy Protocol Buffer C++
Latest commit d0a3877 Nov 22, 2016 @Hanson1129 Hanson1129 committed with normanmaurer Ensure trying to recover from exceptionCaught on the ServerChannel wo…
…rks as expected

Motivation:

When "Too many open files" happens,the URLClassLoader cannot do any classloading because URLClassLoader need a FD  for findClass. Because of this the anonymous inner class that is created to re-enable auto read may cause a problem.

Modification:

Pre-create Runnable that is scheduled and so ensure it is not lazy loaded.

Result:

No more problems when try to recover.
Permalink
Failed to load latest commit information.
.github Use GitHub Issue/PR Template Feature Dec 7, 2016
all [maven-release-plugin] prepare for next development iteration Jan 30, 2017
buffer Prefer JDK ThreadLocalRandom implementation over ours. Feb 16, 2017
codec-dns Prefer JDK ThreadLocalRandom implementation over ours. Feb 16, 2017
codec-haproxy [maven-release-plugin] prepare for next development iteration Jan 30, 2017
codec-http Prefer JDK ThreadLocalRandom implementation over ours. Feb 16, 2017
codec-http2 Adding 'final' keyword for private fields where possible Feb 14, 2017
codec-memcache [maven-release-plugin] prepare for next development iteration Jan 30, 2017
codec-mqtt Introduced MqttMessageBuilders to fluently create MQTT messages Feb 19, 2017
codec-redis Adding 'final' keyword for private fields where possible Feb 14, 2017
codec-smtp [maven-release-plugin] prepare for next development iteration Jan 30, 2017
codec-socks [maven-release-plugin] prepare for next development iteration Jan 30, 2017
codec-stomp [maven-release-plugin] prepare for next development iteration Jan 30, 2017
codec-xml [maven-release-plugin] prepare for next development iteration Jan 30, 2017
codec Prefer JDK ThreadLocalRandom implementation over ours. Feb 16, 2017
common Log why it was not possible to use ByteBuffer.cleaner Feb 17, 2017
example Adding 'final' keyword for private fields where possible Feb 14, 2017
handler-proxy Make netty build work on Java9 Feb 16, 2017
handler OpenSslEngine should respect hostname verification Feb 17, 2017
license added support for Protobuf codec nano runtime Jan 19, 2016
microbench Update to latest jmh version Feb 14, 2017
resolver-dns Prefer JDK ThreadLocalRandom implementation over ours. Feb 16, 2017
resolver Prefer JDK ThreadLocalRandom implementation over ours. Feb 16, 2017
tarball [maven-release-plugin] prepare for next development iteration Jan 30, 2017
testsuite-osgi Make netty build work on Java9 Feb 16, 2017
testsuite Prefer JDK ThreadLocalRandom implementation over ours. Feb 16, 2017
transport-native-epoll Make netty build work on Java9 Feb 16, 2017
transport-rxtx [maven-release-plugin] prepare for next development iteration Jan 30, 2017
transport-sctp [maven-release-plugin] prepare for next development iteration Jan 30, 2017
transport-udt Prefer JDK ThreadLocalRandom implementation over ours. Feb 16, 2017
transport Ensure trying to recover from exceptionCaught on the ServerChannel wo… Feb 19, 2017
.fbprefs Updated Find Bugs configuration Mar 4, 2009
.gitignore Use shaded dependency on JCTools instead of copy and paste Jun 10, 2016
.travis.yml Travis CI branch whitelisting Mar 11, 2013
CONTRIBUTING.md Move the pull request guide to the developer guide Mar 12, 2014
LICENSE.txt Relicensed to Apache License v2 Aug 28, 2009
NOTICE.txt added support for Protobuf codec nano runtime Jan 19, 2016
README.md Updating Branches to look section to match the current branching stru… Mar 10, 2016
pom.xml OpenSslEngine should respect hostname verification Feb 17, 2017
run-example.sh Add an example client for codec-redis Apr 23, 2016

README.md

Netty Project

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

Links

How to build

For the detailed information about building and developing Netty, please visit the developer guide. This page only gives very basic information.

You require the following to build Netty:

Note that this is build-time requirement. JDK 5 (for 3.x) or 6 (for 4.0+) is enough to run your Netty-based application.

Branches to look

Development of all versions takes place in each branch whose name is identical to <majorVersion>.<minorVersion>. For example, the development of 3.9 and 4.0 resides in the branch '3.9' and the branch '4.0' respectively.