Skip to content

Conversation

@sfc-gh-turbaszek
Copy link
Contributor

Cherry picks (#2547). The aio implementation was adjusted accordingly.

retry_ctx.retry_reason = reason

if "Connection aborted" in repr(e) and "ECONNRESET" in repr(e):
if is_econnreset_exception(e):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is skipped in aio due to following note

# notes: in sync implementation we check ECONNRESET in error message and close low level urllib session
            #  we do not have the logic here because aiohttp handles low level connection close-reopen for us

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.

3 participants