Skip to content

Don't treat NewConnectionErrors as timeouts.#2812

Merged
sigmavirus24 merged 1 commit intopsf:masterfrom
Lukasa:issue/2811
Oct 8, 2015
Merged

Don't treat NewConnectionErrors as timeouts.#2812
sigmavirus24 merged 1 commit intopsf:masterfrom
Lukasa:issue/2811

Conversation

@Lukasa
Copy link
Member

@Lukasa Lukasa commented Oct 8, 2015

Resolves #2811.

Fundamentally I view this mostly as a compatibility change, to get us back into line with how we've processed this kind of error in the 2.X series. I think I'd like to back it out in 3.0.0, which is why I've left a note in the code to that effect.

This is a compatibility change, and should be removed in 2.8.0
sigmavirus24 added a commit that referenced this pull request Oct 8, 2015
Don't treat NewConnectionErrors as timeouts.
@sigmavirus24 sigmavirus24 merged commit 2da8a60 into psf:master Oct 8, 2015
@Lukasa
Copy link
Member Author

Lukasa commented Oct 8, 2015

@sigmavirus24 How do you feel about removing this in 3.0.0?

@Lukasa Lukasa deleted the issue/2811 branch October 8, 2015 13:11
@sigmavirus24
Copy link
Contributor

+0

@VasiliPupkin256
Copy link

@Lukasa I've found a TODO made by you and associated with this issue https://github.com/requests/requests/blob/3.0/requests/adapters.py#L531

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants