BUG/MEDIUM: checks: Don't try to set ALPN if connection failed.
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 29 Jan 2019 15:37:52 +0000 (16:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Jan 2019 18:47:20 +0000 (19:47 +0100)
commita48437bb5e64e04159e320b99ae983f42c2abcb6
treeec73ecd5dbc873e34466f02867c7b24d20f61d31
parent26da323cb9f72c34062a3f023950da100f4fef55
BUG/MEDIUM: checks: Don't try to set ALPN if connection failed.

If we failed to connect, don't attempt to set the ALPN, as we don't have
a SSL context, anyway.

This should be backported to 1.9.
src/checks.c