8000 http.py should catch more ECONNRESET conditions · Issue #1146 · googleapis/google-api-python-client · GitHub
[go: up one dir, main page]

Skip to content
http.py should catch more ECONNRESET conditions #1146
Closed
@dossett

Description

@dossett

Right now http.py implicitly assumes that an ECONNRESET error will be raised as a ConnectionError. However, in some cases urllib3 will raise this a regular OSError with the ernno set to match ECONNRESET. http.py should check for the errnos that correspond to the subclasses of ConnectionError to be extra safe.

Metadata

Metadata

Assignees

Labels

type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0