diff options
author | Seth Michael Larson <sethmichaellarson@gmail.com> | 2023-05-03 17:26:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 17:26:56 -0500 |
commit | b234aaf7ccbcb64012d8b33d21eb8bc9f768935d (patch) | |
tree | a532788b349794ceadd0bb681a8ef3334f50fd29 | |
parent | d8dcdd7c236430af15f6ccd47fb3d00c408bb1c0 (diff) | |
download | urllib3-b234aaf7ccbcb64012d8b33d21eb8bc9f768935d.tar.gz |
Release 2.0.22.0.2
-rw-r--r-- | CHANGES.rst | 11 | ||||
-rw-r--r-- | changelog/3009.bugfix | 3 | ||||
-rw-r--r-- | src/urllib3/_version.py | 2 |
3 files changed, 9 insertions, 7 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index f25e407a..0f158633 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,8 +1,13 @@ -2.0.1 (2023-04-30) +2.0.2 (2023-05-03) ================== -Fixes ------ +- Fixed ``HTTPResponse.stream()`` to continue yielding bytes if buffered decompressed data + was still available to be read even if the underlying socket is closed. This prevents + a compressed response from being truncated. (`#3009 <https://github.com/urllib3/urllib3/issues/3009>`__) + + +2.0.1 (2023-04-30) +================== - Fixed a socket leak when fingerprint or hostname verifications fail. (`#2991 <https://github.com/urllib3/urllib3/issues/2991>`__) - Fixed an error when ``HTTPResponse.read(0)`` was the first ``read`` call or when the internal response body buffer was otherwise empty. (`#2998 <https://github.com/urllib3/urllib3/issues/2998>`__) diff --git a/changelog/3009.bugfix b/changelog/3009.bugfix deleted file mode 100644 index 61f54a49..00000000 --- a/changelog/3009.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Fixed ``HTTPResponse.stream()`` to continue yielding bytes if buffered decompressed data -was still available to be read even if the underlying socket is closed. This prevents -a compressed response from being truncated. diff --git a/src/urllib3/_version.py b/src/urllib3/_version.py index 069cd274..60cc5141 100644 --- a/src/urllib3/_version.py +++ b/src/urllib3/_version.py @@ -1,4 +1,4 @@ # This file is protected via CODEOWNERS from __future__ import annotations -__version__ = "2.0.1" +__version__ = "2.0.2" |