IA Squad
SearchEN
python · aiohttpHeads-up

aiohttp: Payload resources not closed on client disconnect

Payload resources are not closed correctly when a client disconnects in the middle of a write, potentially causing resource starvation.

16 Jun 2026Read 1 minSeverity: schedule it

What changed

Payload resources are not closed correctly when a client disconnects in the middle of a write, potentially causing resource starvation.

Who it affects

Applications using aiohttp that handle payloads with open files or similar limited resources.

What to do today

Apply the patch from commit a762eda5242f6490d6ba667533193f8b473ad587 to ensure payload resources are closed on client disconnect.

The trail
Collected Audited Written Published