]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: connection: use pool-conn-name instead of sni on reuse
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 May 2024 16:31:48 +0000 (18:31 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 24 May 2024 12:47:21 +0000 (14:47 +0200)
commit47168e217a3af5f51abe6b1dabaed54274f0790b
tree88c34d6d870e3b6c86ed0eba7b3d431a74e2b210
parentbe4f89f2b293e11a40c21e91f009aae105e06278
MEDIUM: connection: use pool-conn-name instead of sni on reuse

Implement pool-conn-name support for idle connection reuse. It replaces
SNI as arbitrary identifier for connections in the idle pool. Thus,
every SNI reference in this context have been replaced.

Main change occurs in connect_server() where pool-conn-name sample fetch
is now prehash to generate idle connection identifier. SNI is now solely
used in the context of SSL for ssl_sock_set_servername().
include/haproxy/connection-t.h
include/haproxy/connection.h
src/backend.c
src/connection.c