]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: connection: replace idle conn lists by eb trees
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 6 Jan 2021 15:14:12 +0000 (16:14 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 12 Feb 2021 11:33:05 +0000 (12:33 +0100)
commitf232cb3e9bcdbbfe3ae65b927ea9333f42ec5b8c
treeacedc518011ae0dc379388311e1de23949d9f323
parent5c7086f6b06d546c5800486ed9e4bb8d8d471e09
MEDIUM: connection: replace idle conn lists by eb trees

The server idle/safe/available connection lists are replaced with ebmb-
trees. This is used to store backend connections, with the new field
connection hash as the key. The hash is a 8-bytes size field, used to
reflect specific connection parameters.

This is a preliminary work to be able to reuse connection with SNI,
explicit src/dst address or PROXY protocol.
14 files changed:
include/haproxy/connection-t.h
include/haproxy/connection.h
include/haproxy/server-t.h
include/haproxy/server.h
src/backend.c
src/cfgparse.c
src/connection.c
src/haproxy.c
src/hlua.c
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/server.c
src/ssl_sock.c