projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26859c5
)
Force HTTP for fedsockets
author
Mark Felder
<feld@FreeBSD.org>
Mon, 21 Sep 2020 15:13:41 +0000
(10:13 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Mon, 21 Sep 2020 15:13:41 +0000
(10:13 -0500)
lib/pleroma/web/fed_sockets/outgoing_handler.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/fed_sockets/outgoing_handler.ex
b/lib/pleroma/web/fed_sockets/outgoing_handler.ex
index 3ff4a85e3aefd4cd530a3360d73ba00ed9f633b8..e235a7c4382e6b28a2954b9932c641d7501c6eaa 100644
(file)
--- a/
lib/pleroma/web/fed_sockets/outgoing_handler.ex
+++ b/
lib/pleroma/web/fed_sockets/outgoing_handler.ex
@@
-86,7
+86,7
@@
defmodule Pleroma.Web.FedSockets.OutgoingHandler do
%{host: host, port: port, path: path} = URI.parse(ws_uri)
- with {:ok, conn_pid} <- :gun.open(to_charlist(host), port),
+ with {:ok, conn_pid} <- :gun.open(to_charlist(host), port
, %{protocols: [:http]}
),
{:ok, _} <- :gun.await_up(conn_pid),
reference <-
:gun.get(conn_pid, to_charlist(path), [