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] add TimeoutExceptionInterface#36766

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:masterfromnicolas-grekas:hc-timeout-if
May 10, 2020

Conversation

@nicolas-grekas
Copy link
Member

@nicolas-grekasnicolas-grekas commentedMay 8, 2020
edited
Loading

QA
Branch?master
Bug fix?yes
New feature?yes
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

This is fixing a design issue: unlike any otherTransportExceptionInterface, timeouts are not fatal transport errors. For this reason, we must allow one to identify them.

This PR also marks exception classes as@internal, to encourage ppl to catch them using their interface and not their class name. this would revert#30549

"php":"^7.2.5",
"psr/log":"^1.0",
"symfony/http-client-contracts":"^1.1.8|^2",
"symfony/http-client-contracts":"^2.1.1",
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

tag to be added on symfony/contracts and symfony/http-client-contracts after merge

@nicolas-grekasnicolas-grekasforce-pushed thehc-timeout-if branch 10 times, most recently fromd80448b toe89a845CompareMay 9, 2020 17:44
@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit3acc28f intosymfony:masterMay 10, 2020
@fabpotfabpot mentioned this pull requestMay 16, 2020
@nicolas-grekasnicolas-grekas deleted the hc-timeout-if branchMay 26, 2020 06:59
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@javiereguiluzjaviereguiluzjaviereguiluz approved these changes

+1 more reviewer

@ostroluckyostroluckyostrolucky left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

5.1

Development

Successfully merging this pull request may close these issues.

5 participants

@nicolas-grekas@fabpot@javiereguiluz@ostrolucky@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp