Skip to content
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

curl: enable PACKAGECONFIG for HTTP/2 (nghttp2) on the target #333

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

jluebbe
Copy link
Member

@jluebbe jluebbe commented Jul 23, 2024

Without HTTP/2 support, streaming installation is significantly slower.

Copy link
Contributor

@hnez hnez left a comment

Choose a reason for hiding this comment

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

The change looks good and justified to me, since the speedups achievable via HTTP/2 in the adaptive update case are so large.
As mentioned a comment would be nice, so that one does not have to refer to the commit message.

I am currently building a bundle based on this and will check if HTTP/2 works with it.
Since curl is used in a lot of packages this takes some time.

recipes-support/curl/curl_%.bbappend Show resolved Hide resolved
@hnez
Copy link
Contributor

hnez commented Jul 24, 2024

I've tested the change now and with it applied I see GET /lxatac-core-bundle-base-lxatac.raucb HTTP/2.0 access log lines on my HTTP/2 capable webserver.

Without HTTP/2 support, streaming installation is significantly slower.

Signed-off-by: Jan Luebbe <[email protected]>
Copy link
Contributor

@hnez hnez left a comment

Choose a reason for hiding this comment

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

With the comment added we are good to merge this, I think.

@jluebbe jluebbe enabled auto-merge (rebase) July 24, 2024 07:12
@jluebbe jluebbe merged commit 9876590 into rauc:master Jul 24, 2024
2 checks passed
@jluebbe jluebbe deleted the curl-http2 branch July 24, 2024 09:29
@ejoerns
Copy link
Member

ejoerns commented Aug 21, 2024

backported to scarthgap

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.

4 participants