Skip navigation

Netty 4.0.32.Final released

I'm happy to announce the release of Netty 4.0.32.Final.

This release contains 30+ changes, including bug-fixes, improvements and new features.

The most important changes are:

  • Discard read bytes after X reads to guard against OOME.(#4281) (#4275)
  • Correctly reset markers for all allocations when using PooledByteBufAllocator(#4278)
  • Ensure OpenSslEngine.unwrap(...) / wrap(...) correctly return HandshakeStatus.FINISHED (#4263)(#4235)
  • Shutdown socket before close fd when using epoll transport (#4170) (#4275)
  • Correctly set EPOLLOUT flag whe writeBytes(...) was not able to write everything (#4216) (#4205)
  • Add support for RFC7413 on linux for server sockets (#4196)
  • Add support for RFC2385 on Linux (#4173)

For the details and all changes, please browse our issue tracker.

As always, please let us know if you find any issues. We love feedback!

Special Notes

With this release two new EpollChannelOptions are introduced that can be used if you use the native epoll transport that is shipped as part of Netty.

EpollChannelOption.TCP_FASTOPEN => 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.

EpollChannelOption.TCP_MD5SIG => enables TCP MD5 authentication to protect sessions from being hijacked/torn down by third parties.

Thank You

Every idea and bug-report counts and so we thought it is worth mentioning those who helped in this area. Please report an unintended omission.