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

Skip to content

[HttpClient] correctly clean state on destruct in CurlResponse #30755

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
Mar 28, 2019

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #30753
License MIT
Doc PR -

On destruct, we ask curl to close the stream once the headers arrived, but we don't silence the "error" this sets in curl. This fixes it.

@nicolas-grekas nicolas-grekas added this to the next milestone Mar 28, 2019
@nicolas-grekas nicolas-grekas merged commit 332a88c into symfony:master Mar 28, 2019
nicolas-grekas added a commit that referenced this pull request Mar 28, 2019
…onse (nicolas-grekas)

This PR was merged into the 4.3-dev branch.

Discussion
----------

[HttpClient] correctly clean state on destruct in CurlResponse

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #30753
| License       | MIT
| Doc PR        | -

On destruct, we ask curl to close the stream once the headers arrived, but we don't silence the "error" this sets in curl. This fixes it.

Commits
-------

332a88c [HttpClient] correctly clean state on destruct in CurlResponse
@nicolas-grekas nicolas-grekas deleted the hc-fix branch March 28, 2019 22:53
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.3 Apr 30, 2019
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.

3 participants