no hardcode of versions
This commit is contained in:
parent
699fc4f6eb
commit
210e116dc0
@ -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]]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user