Skip to content
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

[9.x] Http client: fix retry handling of connection exception #41811

Conversation

gdebrauwer
Copy link
Contributor

Extra follow-up fix to #41792 and #41762.

Without this fix, the retryWhenCallback closure is never executed if a ConnectionException occurs. This PR fixes that. I was not able to add a test for this as you can not fake a ConnectionException.

@taylorotwell taylorotwell merged commit bb071a9 into laravel:9.x Apr 3, 2022
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.

None yet

2 participants