Skip to content

fix: double reading error on urllib3 2.0 #296

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
May 29, 2023

Conversation

frostming
Copy link
Contributor

This patch resets the length_remaining attribute when replacing the resp._fp

Fixes #295

Signed-off-by: Frost Ming me@frostming.com

@frostming frostming force-pushed the frostming/issue295 branch from 1175a9e to 4c9347b Compare May 8, 2023 02:17
Fixes psf#295

Signed-off-by: Frost Ming <me@frostming.com>
@frostming frostming force-pushed the frostming/issue295 branch from 4c9347b to c676cda Compare May 25, 2023 03:22
@frostming frostming merged commit 6a74972 into psf:master May 29, 2023
@frostming frostming deleted the frostming/issue295 branch May 29, 2023 07:48
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

urllib3 2.0: Double reading causes IncompleteRead error
1 participant