mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-10 09:23:01 +02:00
Sometimes in order to debug certain difficult situations it can be useful to know what SNI was configured on a connection going to a server, for example to match it against what the server saw or to detect cases where a server would route on SNI instead of Host. This sample fetch function simply retrieves the SNI configured on the backend connection, if any.