Skip to content

Commit 0544f11

Browse files
committed
Merge branch '3.13'
2 parents 3dafd4c + 5991031 commit 0544f11

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

CHANGES.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,26 @@
1010

1111
.. towncrier release notes start
1212
13+
3.12.9 (2025-06-04)
14+
===================
15+
16+
Bug fixes
17+
---------
18+
19+
- Fixed ``IOBasePayload`` and ``TextIOPayload`` reading entire files into memory when streaming large files -- by :user:`bdraco`.
20+
21+
When using file-like objects with the aiohttp client, the entire file would be read into memory if the file size was provided in the ``Content-Length`` header. This could cause out-of-memory errors when uploading large files. The payload classes now correctly read data in chunks of ``READ_SIZE`` (64KB) regardless of the total content length.
22+
23+
24+
*Related issues and pull requests on GitHub:*
25+
:issue:`11138`.
26+
27+
28+
29+
30+
----
31+
32+
1333
3.12.8 (2025-06-04)
1434
===================
1535

CHANGES/11138.bugfix.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)