no hardcode of versions

This commit is contained in:
Alex S 2019-08-17 21:50:50 +03:00
parent 699fc4f6eb
commit 210e116dc0

View File

@ -90,7 +90,6 @@ defmodule Pleroma.HTTP do
tls_opts = tls_opts =
Keyword.get(options, :tls_opts, []) Keyword.get(options, :tls_opts, [])
|> Keyword.put(:server_name_indication, host) |> Keyword.put(:server_name_indication, host)
|> Keyword.put(:versions, [:"tlsv1.2", :"tlsv1.1", :tlsv1])
Keyword.put(options, :tls_opts, tls_opts) ++ [ssl: [server_name_indication: host]] Keyword.put(options, :tls_opts, tls_opts) ++ [ssl: [server_name_indication: host]]