From 253c3b75165409dc5f12a52507580c0102e41286 Mon Sep 17 00:00:00 2001 From: Emmanuel Hocdet Date: Thu, 1 Feb 2018 18:29:59 +0100 Subject: [PATCH] MINOR: connection: add proxy-v2-options authority This patch add option PP2_TYPE_AUTHORITY to proxy protocol v2 when a TLS connection was negotiated. In this case, authority corresponds to the sni. --- doc/configuration.txt | 4 +++- include/proto/ssl_sock.h | 1 + include/types/server.h | 1 + src/connection.c | 9 +++++++++ src/server.c | 2 ++ src/ssl_sock.c | 12 ++++++++++++ 6 files changed, 28 insertions(+), 1 deletion(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index bb1c4f1f6..a914c416c 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -11724,7 +11724,9 @@ proxy-v2-options