Skip to content

Fix Request with DNS issue not retried #40080

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 4, 2021

Conversation

jderusse
Copy link
Member

@jderusse jderusse commented Feb 3, 2021

Q A
Branch? 5.2
Bug fix? yes
New feature? no
Deprecations? no
Tickets fix #
License MIT
Doc PR -

When the client failed to resolve the DNS, the RetryableHttpClient should retry the request. But because $chunk->isLast() is used later, the original exception is thrown.

/cc @nikophil

@nicolas-grekas
Copy link
Member

Thank you @jderusse.

@nicolas-grekas nicolas-grekas merged commit 854eabd into symfony:5.2 Feb 4, 2021
@nikophil
Copy link
Contributor

nikophil commented Feb 4, 2021

thanks :)

@jderusse jderusse deleted the http-fix-retry branch February 5, 2021 17:58
@fabpot fabpot mentioned this pull request Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants