spc-pleroma/lib/pleroma/http
rinpatch d34fe2840d HTTP: radically simplify pool checkin/checkout
Use a custom tesla middleware instead of adapter helper function +
custom redirect middleware.

This will also fix "Client died before releasing the connection"
messages when the request pool is overloaded. Since the checkout is
now done after passing ConcurrentLimiter.

This is technically less efficient, since the connection needs to be
checked in/out every time the middleware is left or entered respectively.
But I don't think the nanoseconds we might lose on redirects
to the same host are worth the complexity.
2020-09-03 23:44:13 +03:00
..
adapter_helper HTTP: radically simplify pool checkin/checkout 2020-09-03 23:44:13 +03:00
adapter_helper.ex HTTP: radically simplify pool checkin/checkout 2020-09-03 23:44:13 +03:00
ex_aws.ex don't overwrite passed pool option in http clients 2020-09-02 09:04:23 +03:00
http.ex HTTP: radically simplify pool checkin/checkout 2020-09-03 23:44:13 +03:00
request.ex Update Copyrights for gun related files 2020-03-03 17:16:24 -06:00
request_builder.ex Don't override user-agent header if it's been set 2020-08-01 10:04:25 +03:00
tzdata.ex default pool for tz_data client 2020-09-02 10:33:43 +03:00