pleroma/test
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
..
config
credo/check/consistency
fixtures
instance_static
mix Lint 2026-07-18 16:13:39 +02:00
pleroma test(http): cover the Hackney connection leak 2026-07-26 10:15:52 +04:00
support Revert "Only warn about bad clear_config usage if warned usage is met" 2026-07-19 22:15:37 +02:00
test_helper.exs