Navigation Menu

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

[HttpClient] fix HttpClientDataCollector when handling canceled responses #35562

Merged
merged 1 commit into from Feb 3, 2020

Conversation

nicolas-grekas
Copy link
Member

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

nicolas-grekas added a commit that referenced this pull request Feb 3, 2020
…celed responses (nicolas-grekas)

This PR was merged into the 4.4 branch.

Discussion
----------

[HttpClient] fix HttpClientDataCollector when handling canceled responses

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #35458
| License       | MIT
| Doc PR        | -

Commits
-------

303f9e5 [HttpClient] fix HttpClientDataCollector when handling canceled responses
@nicolas-grekas nicolas-grekas merged commit 303f9e5 into symfony:4.4 Feb 3, 2020
@nicolas-grekas nicolas-grekas deleted the hc-canceled branch February 5, 2020 12:31
@SirSketch
Copy link

@nicolas-grekas I know this has already been merged, but we encountered the same error in the following lines (123) where url was also not set in $info

if ($trace['url'] === $info['url']) {
    unset($info['url']);
}

-->

if ( ($info['url'] ?? null) === $trace['url']) {
    unset($info['url']);
}

Have not contributed yet, so i will probably not make the pr myself...

@nicolas-grekas
Copy link
Member Author

You can do it, I promise :)

nicolas-grekas added a commit that referenced this pull request Feb 11, 2020
…celed responses (thematchless)

This PR was merged into the 4.4 branch.

Discussion
----------

[HttpClient] fix HttpClientDataCollector when handling canceled responses

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

small addition to the already merged #35562

Commits
-------

7088ef7 [HttpClient] fix HttpClientDataCollector when handling canceled responses
This was referenced Feb 29, 2020
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.

None yet

4 participants