Go to file
Peeyush Aggarwal c449ceac3a Add support for RFC7413 on linux for server sockets
Motivation:

TCP Fast Open allows data to be carried in the SYN and SYN-ACK packets and consumed by the receiving end during the initial connection handshake, and saves up to one full round-trip time (RTT) compared to the standard TCP, which requires a three-way handshake (3WHS) to complete before data can be exchanged. This commit enables support for TFO on server sockets.

Modifications:

Added new Integer Option TCP_FASTOPEN in EpollChannelOption.
Added getters/setters in EpollServerChannelConfig for TCP_FASTOPEN.
Added way to check if TCP_FASTOPEN is supported on server in Native.
Added setting on socket opt TCP_FASTOPEN if value is set on channel options in doBind in EpollServerSocketChannel.
Enhanced EpollSocketTestPermutation to contain a permutation for server socket containing fast open.

Result:

Users of native-epoll can set TCP_FASTOPEN on server sockets and thus leverage fast connect features of RFC7413 if client is capable of it.

Conflicts:
	transport-native-epoll/src/main/java/io/netty/channel/epoll/EpollChannelOption.java

Conflicts:
	transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketTestPermutation.java
2015-09-09 07:05:29 +02:00
all [maven-release-plugin] prepare for next development iteration 2015-03-03 08:30:59 -05:00
buffer Added debug logging with effective value for io.netty.leakDetection.acquireAndReleaseOnly property 2015-09-01 09:10:49 +02:00
codec [#4087] Correctly forward bytes when remove codec and handle channelInactive / channelReadComplete(...) 2015-08-21 18:32:38 +02:00
codec-dns Provide more control over DnsNameResolver.query() / Add NameResolver.resolveAll() 2015-08-18 17:41:38 +09:00
codec-haproxy Add ProtocolDetectionResult and use it in HAProxyMessageDecoder for allow detect HAProxy protocol. 2015-06-23 08:59:16 +02:00
codec-http Add validateHeaders and headersToLowerCase options for SPDY 2015-09-08 08:27:28 +02:00
codec-http2 Http2Headers.iterator() comment correction 2015-09-04 12:43:40 -07:00
codec-memcache Fix a buffer leak in BinaryMemcacheEncoderTest 2015-08-29 11:55:33 +09:00
codec-mqtt Fix code styles on MQTT codec classes 2015-08-31 08:25:18 +02:00
codec-socks [maven-release-plugin] prepare for next development iteration 2015-03-03 08:30:59 -05:00
codec-stomp HttpObjectAggregator doesn't check content-length header 2015-08-17 09:29:39 -07:00
codec-xml [maven-release-plugin] prepare for next development iteration 2015-03-03 08:30:59 -05:00
common Additional configuration for leak detection 2015-08-30 20:55:10 +02:00
example Refactor of HttpUtil and HttpHeaderUtil 2015-08-27 09:15:00 -07:00
handler Do not bother closing SSL enging inbound if the outbound has already been closed. 2015-09-06 10:14:05 +02:00
handler-proxy ByteString introduced as AsciiString super class 2015-04-15 10:45:18 -07:00
license Let PoolThreadCache work even if allocation and deallocation Thread are different 2015-05-27 14:38:23 +02:00
microbench Headers Performance Boost and Interface Simplification 2015-08-12 15:54:44 -07:00
resolver Provide more control over DnsNameResolver.query() / Add NameResolver.resolveAll() 2015-08-18 17:41:38 +09:00
resolver-dns Fix unintended timeout in negative DNS lookup cache test 2015-08-29 11:40:02 +09:00
tarball [maven-release-plugin] prepare for next development iteration 2015-03-03 08:30:59 -05:00
testsuite Do not bother closing SSL enging inbound if the outbound has already been closed. 2015-09-06 10:14:05 +02:00
testsuite-osgi Add a property to disable osgi testsuite run 2015-08-13 09:52:46 +09:00
transport RecvByteBufAllocator.DelegatingHandle accessor 2015-09-04 12:44:38 -07:00
transport-native-epoll Add support for RFC7413 on linux for server sockets 2015-09-09 07:05:29 +02:00
transport-rxtx maxBytesPerRead channel configuration 2015-08-06 00:00:28 -07:00
transport-sctp OioSctpChannel iterating over selected keys 2015-08-27 10:23:06 -07:00
transport-udt a48e5c7347 merge build failure 2015-08-06 10:28:39 -07:00
.fbprefs Updated Find Bugs configuration 2009-03-04 10:33:09 +00:00
.gitignore Exclude bin directory from git Motivation: 2014-08-27 06:33:22 +02: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:17:58 +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:38:23 +02:00
pom.xml Build fails with java 1.8_u60 2015-08-28 08:56:42 -07:00
README.md Add a link to the 'native transports' page 2014-07-21 12:10:16 -07:00
run-example.sh Add HTTP/2 Netty tiles example 2015-05-18 14:17:48 -07: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 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.