Skip to content

[url-downloader] Force HTTP/1 for QNetworkRequest#5044

Open
xmkg wants to merge 1 commit into
mainfrom
bugfix/qt-enforce-http1
Open

[url-downloader] Force HTTP/1 for QNetworkRequest#5044
xmkg wants to merge 1 commit into
mainfrom
bugfix/qt-enforce-http1

Conversation

@xmkg

@xmkg xmkg commented Jul 8, 2026

Copy link
Copy Markdown
Member

To see if QT's happy eyeball impl. would work for HTTP/1.

Closes: #3662

To see if QT's happy eyeball impl. would work for HTTP/1.

Closes: #3662

Signed-off-by: Mustafa Kemal Gilor <mustafa.gilor@canonical.com>
Copilot AI review requested due to automatic review settings July 8, 2026 15:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR disables HTTP/2 for the URL downloader’s QNetworkRequests so that downloads and header probes are forced onto HTTP/1.x, to evaluate whether Qt’s “happy eyeballs” behavior works better for the reported connectivity failures (issue #3662).

Changes:

  • Disable HTTP/2 in the main GET download path by setting QNetworkRequest::Http2AllowedAttribute to false.
  • Disable HTTP/2 in the HEAD request path used for retrieving headers (e.g., Last-Modified).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multipass unable to connect and retrieve images without IPv6 on WAN

2 participants