Follow-up from "Federate data through persistent websocket connections"
The following discussion from !2408 (merged) should be addressed:
-
@href started a discussion: Use our own gun API
Pleroma.Gun.Conn.open(uri, %{protocols: [:http]})
so it conforms with our user-agent/proxy/... settings. This will also wait for the conn to be up so no need ofawait_up
. Don't forget to force http1, as gun don't support websocket over h2 yet.
I think this was overlooked in the MR.