Skip to content

Comments

fix: double reading error on urllib3 2.0#296

Merged
frostming merged 1 commit intopsf:masterfrom
frostming:frostming/issue295
May 29, 2023
Merged

fix: double reading error on urllib3 2.0#296
frostming merged 1 commit intopsf:masterfrom
frostming:frostming/issue295

Conversation

@frostming
Copy link
Contributor

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

Fixes #295

Signed-off-by: Frost Ming [email protected]

@frostming frostming force-pushed the frostming/issue295 branch from 1175a9e to 4c9347b Compare May 8, 2023 02:17
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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