pleroma/lib/pleroma
Lain Soykaf 498c9ad532
test(http): cover the Hackney connection leak
Serve a response announcing far more than it sends, then close, and
assert the connection process is gone. Fails against stock 4.7.2 with a
conn parked in `closed` holding the bytes it read; passes against the
pinned fix.

Also stop the Hackney tests trusting proxy environment variables.
`no_proxy_env` is not a Hackney option and never was, so a proxy in the
build environment silently turned these into tunnelled requests, which
are never pooled -- exactly the shape several of them mean to exclude.
`proxy: false` is what Hackney actually reads.

That surfaced a matching bug in the reverse proxy client, which treated
`proxy: false` as "a proxy is set" and so declined to mark a pooled
bodyless response as already released.
2026-07-26 10:15:52 +04:00
..
activity Do not use Enum.map for side-effects 2026-02-27 16:24:10 +01:00
captcha
chat
config Elixir 1.19: Emit debug logger reconfiguration logs in test env as well 2026-07-18 23:02:38 +02:00
conversation Add missing type 2024-07-22 15:32:20 -04:00
date_time Linting 2025-03-11 18:21:27 +04:00
docs Elixir 1.19: Fix most MRFs being absent from AdminAPI suggestions. 2026-06-16 20:22:24 +02:00
ecto_type ConfigDB, RateLimiter, RateLimit: Use new type to parse and cast rate limits. 2026-01-06 16:34:17 +04:00
emails Remove WorkerHelper 2024-07-30 11:34:48 -04:00
emoji Emoji: Handle more edge cases for local emoji with strange filenames. 2026-01-06 15:12:49 +04:00
gopher Gopher: Fix crash on (re)boot when ConfigDB is enabled 2026-02-17 00:47:57 +01:00
gun fix(gun): tolerate a missing client monitor on release 2026-07-25 18:46:44 +04:00
helpers
http Merge remote-tracking branch 'origin/develop' into audit-mix-audit-report 2026-07-25 19:54:48 +04:00
instances Rename Instance.delete_users_and_activities/1 to Instance.delete/1 2025-06-28 13:37:06 -07:00
language Merge remote-tracking branch 'origin/develop' into translation-provider-translatelocally 2025-11-28 15:07:43 +01:00
mfa lint 2026-03-25 19:35:46 +00:00
migration_helper
migrators
object Update voters count in remote polls when refreshing 2025-09-27 10:50:51 +02:00
password
reverse_proxy test(http): cover the Hackney connection leak 2026-07-26 10:15:52 +04:00
search Move object_to_search_data/1 to Pleroma.Search 2026-03-25 14:47:39 -07:00
signature PublisherTest: Use mox instead of mock. 2025-09-05 14:18:12 +04:00
telemetry feat(http): rework Gun connection pooling 2026-07-17 20:35:17 +04:00
tesla/middleware fix(http): enforce max_body again under Hackney 4 2026-07-26 09:29:36 +04:00
tests
upload StripLocation, ReadDescription: Silence noisy errors. 2026-01-08 13:40:25 +04:00
uploaders File.mkdir_p -> Pleroma.Backports.mkdir_p 2025-06-16 12:48:47 +02:00
user Merge pull request 'Better user search' (#7793) from gitlab-mr-iid-4416 into develop 2026-05-13 09:53:52 +00:00
utils Make URI encoding query quirks host-aware 2025-12-10 14:56:06 +01:00
web Merge remote-tracking branch 'origin/develop' into audit-mix-audit-report 2026-07-25 19:54:48 +04:00
workers test(workers): replace publisher mocks with Mox 2026-07-24 17:43:02 +04:00
activity.ex
announcement.ex
announcement_read_relationship.ex
application.ex Elixir 1.19: Replace ugly old logger config checks with config merging 2026-03-25 19:35:46 +00:00
application_requirements.ex Merge remote-tracking branch 'origin/develop' into translate-posts 2025-03-19 17:59:24 +01:00
backports.ex backports: Copy mkdir_p TOCTOU fix from elixir PR 14242 2025-06-16 12:46:00 +02:00
bookmark.ex Various bookmark folders-related improvements 2026-03-02 23:41:46 +01:00
bookmark_folder.ex Various bookmark folders-related improvements 2026-03-02 23:41:46 +01:00
caching.ex
captcha.ex
chat.ex Allow disabling Chats feature 2026-07-24 00:58:58 +02:00
clippy.ex
config.ex Mogrify/Mogrifun: Asyncify 2025-02-25 17:08:21 +04:00
config_db.ex ConfigDB, RateLimiter, RateLimit: Use new type to parse and cast rate limits. 2026-01-06 16:34:17 +04:00
constants.ex constants: remove favicon.png from static_only_files 2026-03-05 20:21:19 +00:00
conversation.ex
counter_cache.ex
data_migration.ex
date_time.ex Linting 2025-03-11 18:21:27 +04:00
delivery.ex
ecto_enums.ex Refactor backups to be fully controlled by Oban 2024-07-23 10:30:40 -04:00
emoji-test.txt
emoji.ex Emoji, AccountView, UtilController: Handle encoding of emoji 2026-01-07 10:40:45 +04:00
filter.ex Remove WorkerHelper 2024-07-30 11:34:48 -04:00
following_relationship.ex paginate follow requests (#460) 2026-01-07 15:32:16 +01:00
formatter.ex fix(deps): replace mdex with earmark parser 2026-07-23 13:02:28 +04:00
frontend.ex Update Pleroma-FE build artifacts URL 2026-05-06 13:55:45 +00:00
gun.ex feat(http): rework Gun connection pooling 2026-07-17 20:35:17 +04:00
hashtag.ex Credo 2025-08-01 10:41:53 -07:00
healthcheck.ex
html.ex
http.ex fix(http): enforce max_body again under Hackney 4 2026-07-26 09:29:36 +04:00
http_signatures_api.ex
instances.ex Rename Instance.delete_users_and_activities/1 to Instance.delete/1 2025-06-28 13:37:06 -07:00
job_queue_monitor.ex
jwt.ex
keys.ex
ldap.ex Reorganize the LDAP module 2024-10-11 15:51:56 -04:00
list.ex Allow attaching emojis to user lists 2026-06-23 16:08:52 +02:00
logging.ex
maintenance.ex
maps.ex Use Map.filter now that minimum Elixir version is 1.13 2024-08-21 14:50:19 -04:00
marker.ex Elixir 1.19: Only match once on structs 2026-03-25 19:35:46 +00:00
mfa.ex
moderation_log.ex Allow assigning users to reports 2026-01-28 10:35:19 +01:00
mogrify_behaviour.ex Linting 2025-03-11 18:21:27 +04:00
mogrify_wrapper.ex Linting 2025-03-11 18:21:27 +04:00
notification.ex Persist notification group keys 2026-05-23 11:38:33 +04:00
object.ex Fix votersCount inflation in multiple-choice polls 2026-05-06 11:33:34 +04:00
object_tombstone.ex
pagination.ex provide full replies collection in ActivityPub objects 2025-10-09 15:15:16 +02:00
password_reset_token.ex
prom_ex.ex
registration.ex
release_tasks.ex pleroma_ctl: Properly handle user arguments with whitespace 2026-04-24 18:04:31 +02:00
repo.ex
report_note.ex
reverse_proxy.ex Merge remote-tracking branch 'origin/develop' into audit-mix-audit-report 2026-07-25 19:54:48 +04:00
rule.ex
safe_zip.ex Fix dialyzer error in safe_zip: Remove impossible pattern match for {:get_type, _e} 2025-07-22 15:21:20 -07:00
scheduled_activity.ex
search.ex Move object_to_search_data/1 to Pleroma.Search 2026-03-25 14:47:39 -07:00
signature.ex Signature: Treat HTTP signature errors as invalid 2026-05-12 08:52:42 +04:00
stats.ex
thread_mute.ex
upload.ex Elixir 1.19: Fix typing violation on struct updates in Pleroma.Upload 2026-03-25 19:35:46 +00:00
user.ex fix(user): correct cache key invalidation 2026-07-24 16:01:13 +04:00
user_invite_token.ex
user_note.ex
user_relationship.ex MastoAPI AccountView: Add mute/block expiry to the relationship object 2026-01-28 13:49:34 +01:00
utils.ex Elixir 1.19: Fix deprecation warning when invoking ParallelCompiler 2026-03-25 19:35:46 +00:00
web.ex Fix Phoenix upstream migration regressions 2026-05-11 22:14:01 +04:00
xml_builder.ex