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] don't fallback to HTTP/1.1 when HTTP/2 streams break#39115

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:4.4fromnicolas-grekas:hc-fix
Nov 19, 2020

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsFixcomposer/composer#9481
LicenseMIT
Doc PR-

With this change, I don't reproduce the failures that I describe incomposer/composer#9481 when running the script in#38690

Apparently curl has an issue when both h1.1 and h2 connections are open to the same host.

Instead of switching to HTTP/1.1 when retrying requests that failed because of an HTTP/2 stream error, I propose to close the http/2 connection when issuing a retry.

With this change, running the mirroring script of packagist works like a charm.

No need to investigate your mirrors@Seldaek, this was definitely a data corruption issue.

naderman reacted with eyes emoji
@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commitb60bb6e intosymfony:4.4Nov 19, 2020
@Seldaek
Copy link
Member

Thanks@nicolas-grekas - hopefully that does solve this very sneaky issue.

Sounds to me like it'd be worth a bug report to curl too though, if you have enough details to send them.

nicolas-grekas reacted with thumbs up emoji

@nicolas-grekasnicolas-grekas deleted the hc-fix branchNovember 19, 2020 07:51
This was referencedNov 29, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

4 participants

@nicolas-grekas@fabpot@Seldaek@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp