Simplify TLS opts
authorhref <href@random.sh>
Wed, 8 Jul 2020 13:12:09 +0000 (15:12 +0200)
committerrinpatch <rinpatch@sdf.org>
Wed, 15 Jul 2020 12:26:35 +0000 (15:26 +0300)
commitce1a42bd04bcf352ea1565b411444a98261b0a96
treebaddfcb4b430347eeb4d53a858ee19e4546e5b12
parentebfa59168942df9f8df73972a407cd2beada41e1
Simplify TLS opts

- `verify_fun` is not useful now
- use `customize_check_hostname` (OTP 20+ so OK)
- `partial_chain` is useless as of OTP 21.1 (wasn't there, but hackney/..
uses it)
lib/pleroma/gun/conn.ex
lib/pleroma/http/adapter_helper/gun.ex