Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpClient] fix scheduling pending NativeResponse #35120

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

Conversation

nicolas-grekas
Copy link
Member

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

There must be one pending list per ResponseStream instance.
Currently, we start unrelated responses and this can lead to broken iterators when the unrelated response throws because it is a 3/4/5xx.

@nicolas-grekas nicolas-grekas force-pushed the hc-fix-native-pending-list branch from 314276c to a90a6c9 Compare December 27, 2019 11:01
nicolas-grekas added a commit that referenced this pull request Dec 28, 2019
…s-grekas)

This PR was merged into the 4.3 branch.

Discussion
----------

[HttpClient] fix scheduling pending NativeResponse

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

There must be one pending list per `ResponseStream` instance.
Currently, we start unrelated responses and this can lead to broken iterators when the unrelated response throws because it is a 3/4/5xx.

Commits
-------

a90a6c9 [HttpClient] fix scheduling pending NativeResponse
@nicolas-grekas nicolas-grekas merged commit a90a6c9 into symfony:4.3 Dec 28, 2019
@nicolas-grekas nicolas-grekas deleted the hc-fix-native-pending-list branch January 4, 2020 14:50
This was referenced Jan 21, 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.

2 participants