diff options
Diffstat (limited to 'src/gun_tunnel.erl')
-rw-r--r-- | src/gun_tunnel.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun_tunnel.erl b/src/gun_tunnel.erl index c7fecc7..789d1e3 100644 --- a/src/gun_tunnel.erl +++ b/src/gun_tunnel.erl @@ -565,7 +565,7 @@ commands([{tls_handshake, HandshakeEvent0, Protocols, ReplyTo}|Tail], stream_ref := StreamRef, tls_opts := TLSOpts0 } = HandshakeEvent0, - TLSOpts = gun:ensure_alpn_sni(Protocols, TLSOpts0, OriginHost), + TLSOpts = gun:ensure_tls_opts(Protocols, TLSOpts0, OriginHost), HandshakeEvent = HandshakeEvent0#{ tls_opts => TLSOpts }, |