config: revert to HTTP1-only for outgoing requests

Due to bugs in Finch discussed in
#978
and #980
allowing both HTTP versions ends up breaking
some requests if they have a body.

Fixes: #978
This commit is contained in:
Oneric 2025-10-10 00:00:00 +00:00
commit 203f5a89a2
2 changed files with 3 additions and 2 deletions

View file

@ -27,6 +27,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Added a reference Grafana dashboard and improved documentation for Prometheus metrics
- New mix task `clean_inlined_replies` to delete some unused data from objects
- New mix task `resync_inlined_caches` to retroactively fix various issues with e.g. boosts, emoji reacts and likes
- It is now possible to allow outgoing requests to use HTTP2 via config option,
but due to bugs in the relevant backend this is not the default nor recommended.
### Fixed
- Internal actors no longer pretend to have unresolvable follow(er|ing) collections
@ -65,7 +67,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- `/api/v1/statuses/:id/reblog` now honours all possible visibilities except `list` and `conversation`
instead of mapping them down to a boolean private/public
- we no longer repeatedly try to deliver to explicitly deleted inboxes
- outgoing requests may now use HTTP2 by default
- Config option `Pleroma.Web.MediaProxy.Invalidation.Http, :options` and
the `:http` subkey of `:media_proxy, :proxy_opts` now only accept
adapter-related settings inside the `:adapter` subkey, no longer on the top-level

View file

@ -184,7 +184,7 @@ config :pleroma, :http,
pool_timeout: :timer.seconds(60),
receive_timeout: :timer.seconds(15),
proxy_url: nil,
protocols: [:http2, :http1],
protocols: [:http1],
user_agent: :default,
pool_size: 10,
adapter: []