]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: connections: Introduce a handshake pseudo-XPRT.
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 27 May 2019 10:09:19 +0000 (12:09 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 5 Jun 2019 16:03:38 +0000 (18:03 +0200)
commitfe50bfb82c0ee93eec7dc896097c3705b21ec0cd
treecda381efd650ed2ea960b75517219e45f7c355dc
parent2e055483ff84c95be89ecb205692843961b7f36f
MEDIUM: connections: Introduce a handshake pseudo-XPRT.

Add a new XPRT that is used when using non-SSL handshakes, such as proxy
protocol or Netscaler, instead of taking care of it in conn_fd_handler().
This XPRT is installed when any of those is used, and it removes itself once
the handshake is done.
This should allow us to remove the distinction between CO_FL_SOCK* and
CO_FL_XPRT*.
Makefile
include/proto/connection.h
include/types/connection.h
src/backend.c
src/checks.c
src/connection.c
src/session.c
src/tcp_rules.c
src/xprt_handshake.c [new file with mode: 0644]