Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpClient] fix chaining promises returned by HttplugClient#37927

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:5.1fromCthulhuDen:fix-37925
Aug 26, 2020
Merged

[HttpClient] fix chaining promises returned by HttplugClient#37927

fabpot merged 1 commit intosymfony:5.1fromCthulhuDen:fix-37925
Aug 26, 2020

Conversation

@CthulhuDen
Copy link
Contributor

QA
Branch?5.1
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#37925
LicenseMIT

Guzzle runtime does not play too well with foreign promises, which can be fixed by wrapping them withpromise_for.
Added failing test case from#37925 and suggested fix.
Should not break BC becausethen callback results get resolved before being passed to nextthen callback or returned fromwait.

@nicolas-grekasnicolas-grekas changed the titleFix 37925[HttpClient] fix chaining promises returned by HttplugClientAug 26, 2020
@nicolas-grekasnicolas-grekas added this to the5.1 milestoneAug 26, 2020
Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

(I just did some minor tweaks)

CthulhuDen reacted with thumbs up emoji
@fabpot
Copy link
Member

Thank you@CthulhuDen.

@fabpotfabpot merged commitfc3095f intosymfony:5.1Aug 26, 2020
@CthulhuDenCthulhuDen deleted the fix-37925 branchAugust 26, 2020 15:20
@fabpotfabpot mentioned this pull requestAug 31, 2020
nicolas-grekas added a commit that referenced this pull requestJan 13, 2022
…\promise_for (plozmun)This PR was merged into the 5.3 branch.Discussion----------[HttpClient] Remove deprecated usage of GuzzleHttp\Promise\promise_for| Q             | A| ------------- | ---| Branch?       | 5.3,| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       | -| License       | MIT| Doc PR        | -Similar to#44890 but this function was introduced in 5.1#37927Commits-------3d2ed70 [HttpClient] Remove deprecated usage of GuzzleHttp\Promise\promise_for
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.1

Development

Successfully merging this pull request may close these issues.

[HttpClient] Httplug adapter bug with async requests

4 participants

@CthulhuDen@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp