netty5/codec-haproxy/src
Georg Held 1f0d47dee7 Added PROXY Protocol TLV support
Motivation:

The current PROXY protocol implementation does not have support for optional Type-Length-Value fields. This pull requests adds the TLV values as specified in the PROXY protocol specification (http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt) and adds support for arbitrary TLVs.

Modifications:

The existing HAProxyMessage implements an additional TLV reading operation. A small bug in the AF_UNIX reader which didn’t set the reader index correctly was also fixed.

Result:

The PROXY protocol supports TLVs
2017-06-07 09:09:29 -07:00
..
main/java/io/netty/handler/codec/haproxy Added PROXY Protocol TLV support 2017-06-07 09:09:29 -07:00
test/java/io/netty/handler/codec/haproxy Added PROXY Protocol TLV support 2017-06-07 09:09:29 -07:00