]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: connection: Implement and extented PROXY Protocol V2
authorDavid S <11235david@gmail.com>
Fri, 9 May 2014 03:42:08 +0000 (23:42 -0400)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 May 2014 06:25:38 +0000 (08:25 +0200)
commitafb768340c9d7e50d8e7372051c8a9c3b3f2151c
treeb91e2fed3fb8fda54c472a304c4fd889355ead95
parentb1efedec3ea4fcf5964823ebb165d41f100b6575
MEDIUM: connection: Implement and extented PROXY Protocol V2

This commit modifies the PROXY protocol V2 specification to support headers
longer than 255 bytes allowing for optional extensions.  It implements the
PROXY protocol V2 which is a binary representation of V1. This will make
parsing more efficient for clients who will know in advance exactly how
many bytes to read.  Also, it defines and implements some optional PROXY
protocol V2 extensions to send information about downstream SSL/TLS
connections.  Support for PROXY protocol V1 remains unchanged.
doc/configuration.txt
doc/proxy-protocol.txt
include/proto/connection.h
include/proto/ssl_sock.h
include/types/connection.h
include/types/server.h
src/backend.c
src/connection.c
src/server.c
src/ssl_sock.c
src/stream_interface.c