Netty project - an event-driven asynchronous network application framework
Switch branches/tags
netty-tag netty-5.0.0.Alpha2 netty-5.0.0.Alpha1 netty-4.1.31.Final netty-4.1.30.Final netty-4.1.29.Final netty-4.1.28.Final netty-4.1.27.Final netty-4.1.26.Final netty-4.1.25.Final netty-4.1.24.Final netty-4.1.23.Final netty-4.1.22.Final netty-4.1.21.Final netty-4.1.20.Final netty-4.1.19.Final netty-4.1.18.Final netty-4.1.17.Final netty-4.1.16.Final netty-4.1.15.Final netty-4.1.14.Final netty-4.1.13.Final netty-4.1.12.Final netty-4.1.11.Final netty-4.1.10.Final netty-4.1.9.Final netty-4.1.8.Final netty-4.1.7.Final netty-4.1.6.Final netty-4.1.5.Final netty-4.1.4.Final netty-4.1.3.Final netty-4.1.2.Final netty-4.1.1.Final netty-4.1.0.Final netty-4.1.0.CR7 netty-4.1.0.CR6 netty-4.1.0.CR5 netty-4.1.0.CR4 netty-4.1.0.CR3 netty-4.1.0.CR2 netty-4.1.0.CR1 netty-4.1.0.Beta8 netty-4.1.0.Beta7 netty-4.1.0.Beta6 netty-4.1.0.Beta5 netty-4.1.0.Beta4 netty-4.1.0.Beta3 netty-4.1.0.Beta2 netty-4.1.0.Beta1 netty-4.0.56.Final netty-4.0.55.Final netty-4.0.54.Final netty-4.0.53.Final netty-4.0.52.Final netty-4.0.51.Final netty-4.0.50.Final netty-4.0.49.Final netty-4.0.48.Final netty-4.0.47.Final netty-4.0.46.Final netty-4.0.45.Final netty-4.0.44.Final netty-4.0.43.Final netty-4.0.42.Final netty-4.0.41.Final netty-4.0.40.Final netty-4.0.39.Final netty-4.0.38.Final netty-4.0.37.Final netty-4.0.36.Final netty-4.0.35.Final netty-4.0.34.Final netty-4.0.33.Final netty-4.0.32.Final netty-4.0.31.Final netty-4.0.30.Final netty-4.0.29.Final netty-4.0.28.Final netty-4.0.27.Final netty-4.0.26.Final netty-4.0.25.Final netty-4.0.24.Final netty-4.0.23.Final netty-4.0.22.Final netty-4.0.21.Final netty-4.0.20.Final netty-4.0.19.Final netty-4.0.18.Final netty-4.0.17.Final netty-4.0.16.Final netty-4.0.15.Final netty-4.0.14.Final netty-4.0.14.Beta1 netty-4.0.13.Final netty-4.0.12.Final netty-4.0.11.Final netty-4.0.10.Final netty-4.0.9.Final netty-4.0.8.Final
Nothing to show
Clone or download
tjake and normanmaurer Allow adjusting of lead detection sampling interval. (#8568)
Motivation:

We should allow adjustment of the leak detecting sampling interval when in SAMPLE mode.

Modifications:

Added new int property io.netty.leakDetection.samplingInterval

Result:

Be able to consume changes made by the user.
Latest commit 63dc1f5 Nov 16, 2018
Permalink
Failed to load latest commit information.
.github Use GitHub Issue/PR Template Feature Dec 7, 2016
.mvn/wrapper Include mvn wrapper to make setup of development env easier Jan 26, 2018
all [maven-release-plugin] prepare for next development iteration Oct 29, 2018
bom [maven-release-plugin] prepare for next development iteration Oct 29, 2018
buffer Fix ref-counting when CompositeByteBuf is used with retainedSlice() (#… Nov 13, 2018
codec-dns [maven-release-plugin] prepare for next development iteration Oct 29, 2018
codec-haproxy [maven-release-plugin] prepare for next development iteration Oct 29, 2018
codec-http [maven-release-plugin] prepare for next development iteration Oct 29, 2018
codec-http2 Defer HTTP/2 stream transition state on initial write until headers a… Nov 14, 2018
codec-memcache [maven-release-plugin] prepare for next development iteration Oct 29, 2018
codec-mqtt [maven-release-plugin] prepare for next development iteration Oct 29, 2018
codec-redis [maven-release-plugin] prepare for next development iteration Oct 29, 2018
codec-smtp [maven-release-plugin] prepare for next development iteration Oct 29, 2018
codec-socks [maven-release-plugin] prepare for next development iteration Oct 29, 2018
codec-stomp [maven-release-plugin] prepare for next development iteration Oct 29, 2018
codec-xml [maven-release-plugin] prepare for next development iteration Oct 29, 2018
codec Don't swallow intermediate write failures in MessageToMessageEncoder (#… Nov 3, 2018
common Allow adjusting of lead detection sampling interval. (#8568) Nov 16, 2018
dev-tools [maven-release-plugin] prepare for next development iteration Oct 29, 2018
docker Update to openjdk 12ea19 (#8487) Nov 9, 2018
example #7695 no need to manually release chunk during upload (#7696) Nov 2, 2018
handler-proxy [maven-release-plugin] prepare for next development iteration Oct 29, 2018
handler Update SslHandler.java (#8564) Nov 16, 2018
license Add the NOTICE of the forked portion of Apache Harmony Jan 30, 2018
microbench Streamline CompositeByteBuf internals (#8437) Nov 3, 2018
resolver-dns Refresh DNS configuration each 5 minutes. (#8468) Nov 16, 2018
resolver [maven-release-plugin] prepare for next development iteration Oct 29, 2018
tarball [maven-release-plugin] prepare for next development iteration Oct 29, 2018
testsuite-autobahn [maven-release-plugin] prepare for next development iteration Oct 29, 2018
testsuite-http2 [maven-release-plugin] prepare for next development iteration Oct 29, 2018
testsuite-osgi [maven-release-plugin] prepare for next development iteration Oct 29, 2018
testsuite-shading Include correct dependencies for testsuite-shading on windows. (#8491) Nov 12, 2018
testsuite [maven-release-plugin] prepare for next development iteration Oct 29, 2018
transport-native-epoll Add testcase for epollWait(...) with negative timerfd values. (#8447) Oct 30, 2018
transport-native-kqueue [maven-release-plugin] prepare for next development iteration Oct 29, 2018
transport-native-unix-common-tests [maven-release-plugin] prepare for next development iteration Oct 29, 2018
transport-native-unix-common [maven-release-plugin] prepare for next development iteration Oct 29, 2018
transport-rxtx [maven-release-plugin] prepare for next development iteration Oct 29, 2018
transport-sctp [maven-release-plugin] prepare for next development iteration Oct 29, 2018
transport-udt [maven-release-plugin] prepare for next development iteration Oct 29, 2018
transport Rethrow Error during retrieving remoteAddress / localAddress Nov 16, 2018
.fbprefs Updated Find Bugs configuration Mar 4, 2009
.gitattributes Include mvn wrapper to make setup of development env easier Jan 26, 2018
.gitignore Exclude mainframer related files from git Oct 14, 2018
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 Add the NOTICE of the forked portion of Apache Harmony Jan 30, 2018
README.md Provide an Automatic-Module-Name for the netty-all artifact fixes #7644 Jan 27, 2018
mvnw Include mvn wrapper to make setup of development env easier Jan 26, 2018
mvnw.cmd Include mvn wrapper to make setup of development env easier Jan 26, 2018
pom.xml Update to netty-tcnative 2.0.20.Final (#8561) Nov 15, 2018
run-example.sh Add UptimeServer and adjust UptimeClient's code style. Apr 28, 2017

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.

Usage with JDK 9

Netty can be used in modular JDK9 applications as a collection of automatic modules. The module names follow the reverse-DNS style, and are derived from subproject names rather than root packages due to historical reasons. They are listed below:

  • io.netty.all
  • io.netty.buffer
  • io.netty.codec
  • io.netty.codec.dns
  • io.netty.codec.haproxy
  • io.netty.codec.http
  • io.netty.codec.http2
  • io.netty.codec.memcache
  • io.netty.codec.mqtt
  • io.netty.codec.redis
  • io.netty.codec.smtp
  • io.netty.codec.socks
  • io.netty.codec.stomp
  • io.netty.codec.xml
  • io.netty.common
  • io.netty.handler
  • io.netty.handler.proxy
  • io.netty.resolver
  • io.netty.resolver.dns
  • io.netty.transport
  • io.netty.transport.epoll (native omitted - reserved keyword in Java)
  • io.netty.transport.kqueue (native omitted - reserved keyword in Java)
  • io.netty.transport.unix.common (native omitted - reserved keyword in Java)
  • io.netty.transport.rxtx
  • io.netty.transport.sctp
  • io.netty.transport.udt

Automatic modules do not provide any means to declare dependencies, so you need to list each used module separately in your module-info file.