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: dispatch "response received" event for every retry attempt #41793

Conversation

gdebrauwer
Copy link
Contributor

The RequestSending event is dispatched for every attempt, but the ResponseReceived event is only dispatched for the response of the last attempt. This PR fixes that, so the ResponseReceived event is also dispatched for every attempt.

@gdebrauwer gdebrauwer changed the title [9.x] Http client: dispatch response received event for every retry attempt [9.x] Http client: dispatch "response received" event for every retry attempt Apr 2, 2022
@taylorotwell taylorotwell merged commit 6bec179 into laravel:9.x Apr 2, 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