Go to file
Vineet Garg e078dfb1b5 Fixes infinite loop during handshake in SslHandler in Android devices
Motivation:

On Android devices with version less than Lollipop, HarmonyJSSE is used for SSL. After completion of handshake, handshake status is NOT_HANDSHAKING instead of FINISHED. Also encrypting empty buffer after handshake should cause underflow exception and produce 0 bytes, but here it happily encrypts it causing for loop to never break

Modification:

Since 0 bytes should only be consumed in handshake process. Added a condition to break loop when 0 bytes are consumed and handshake status is NOT_HANDSHAKING

Result:

Sucessful ssl handshake on Android devices, no infinite loop now
2015-08-19 22:12:27 +02:00
all [maven-release-plugin] prepare for next development iteration 2015-07-24 10:11:44 +02:00
buffer MemoryRegionCache$Entry objects are not recycled 2015-08-10 21:28:53 +02:00
codec [maven-release-plugin] prepare for next development iteration 2015-07-24 10:11:44 +02:00
codec-haproxy [maven-release-plugin] prepare for next development iteration 2015-07-24 10:11:44 +02:00
codec-http [#4010] Correctly handle whitespaces in HttpPostMultipartRequestDecoder 2015-08-14 21:05:24 +02:00
codec-socks [maven-release-plugin] prepare for next development iteration 2015-07-24 10:11:44 +02:00
common (fix) typo 2015-07-30 12:50:36 +02:00
example [maven-release-plugin] prepare for next development iteration 2015-07-24 10:11:44 +02:00
handler Fixes infinite loop during handshake in SslHandler in Android devices 2015-08-19 22:12:27 +02:00
license Let PoolThreadCache work even if allocation and deallocation Thread are different 2015-05-27 14:35:22 +02:00
microbench Microbench backport issue 2015-07-30 10:33:10 -07:00
tarball [maven-release-plugin] prepare for next development iteration 2015-07-24 10:11:44 +02:00
testsuite Allow to create SslContext from existing PrivateKey / X509Certificate 2015-08-12 14:59:48 +02:00
testsuite-osgi Add a property to disable osgi testsuite run 2015-08-13 09:53:55 +09:00
transport Fix compilation errors 2015-08-18 12:42:01 +09:00
transport-native-epoll Add support for abstract domain sockets 2015-08-16 20:03:39 +02:00
transport-rxtx [maven-release-plugin] prepare for next development iteration 2015-07-24 10:11:44 +02:00
transport-sctp [maven-release-plugin] prepare for next development iteration 2015-07-24 10:11:44 +02:00
transport-udt [maven-release-plugin] prepare for next development iteration 2015-07-24 10:11:44 +02:00
.fbprefs Updated Find Bugs configuration 2009-03-04 10:33:09 +00:00
.gitignore Add JVM crash logs to .gitignore 2014-05-18 21:37:12 +09:00
.travis.yml Travis CI branch whitelisting 2013-03-11 09:55:43 +09:00
CONTRIBUTING.md Move the pull request guide to the developer guide 2014-03-12 13:18:14 +09:00
LICENSE.txt Relicensed to Apache License v2 2009-08-28 07:15:49 +00:00
NOTICE.txt Let PoolThreadCache work even if allocation and deallocation Thread are different 2015-05-27 14:35:22 +02:00
pom.xml Upgrade jacoco-maven-plugin to the latest version 2015-08-16 19:25:06 +09:00
README.md Add a link to the 'native transports' page 2014-07-21 12:54:43 -07:00
run-example.sh Add logLevel property to enable different log levels for the examples. 2014-11-21 10:48:13 +09:00

Netty Project

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

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

The 'master' branch is where the development of the latest major version lives on. The development of all other major versions takes place in each branch whose name is identical to its major version number. For example, the development of 3.x and 4.x resides in the branch '3' and the branch '4' respectively.