#18103 closed bug (fixed)
Web+: all downloads fail with curl backend
Reported by: | humdinger | Owned by: | pulkomandy |
---|---|---|---|
Priority: | blocker | Milestone: | R1/beta4 |
Component: | Kits/Web Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #18112 | |
Platform: | All |
Description
This is hrev56578+31, 64bit.
HaikuWebKit 1.9.0
WebKit 615.1.10
Trying to download anything opens the Download window, but the transfer never starts.
I'm setting the prio to "blocker" because I don't think we can release a beta with a browser that cannot download.
Change History (11)
comment:1 by , 2 years ago
Summary: | Web+: all downloads fail → Web+: all downloads fail with curl backend |
---|
comment:2 by , 2 years ago
Milestone: | Unscheduled → R1/beta4 |
---|
comment:3 by , 2 years ago
comment:4 by , 2 years ago
Blocking: | 18112 added |
---|
comment:5 by , 2 years ago
Status: | new → in-progress |
---|
comment:6 by , 2 years ago
comment:8 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | in-progress → closed |
Some pieces were still missing, now it's working with https://github.com/haiku/haikuwebkit/commit/ff40d19c762705a18ea810a215aad34b14ee119f.
comment:11 by , 2 years ago
Hold it. "Normal" downloads, like an image of a website or a nightly Haiku now work fine.
But: I just tried to download a catkeys ZIP provided by Polyglot and that fails, though differently than described in this ticket (though maybe related?):
- Go to https://i18n.kacperkasper.pl, login with your github account.
- Choose a project.
- Click e.g. on "Export languages - only completed"
That should download a ZIP with all finished translations. The Download window opens, but instead of the ZIP, an enrry named "login" appears. The progress bar is green, signaling success, but nothing was downloaded.
Works with other browsers.
There's nothing in Terminal or Web+ Script console.
Maybe some redirect issue?
New ticket?
It appears there is a separate class in the Curl network backend for handling downloads: https://github.com/haiku/haikuwebkit/blob/haiku/Source/WebCore/platform/network/curl/CurlDownload.cpp
The Windows version of WebKitLegacy has separate files for downloads for each of the network backends it supports: https://github.com/haiku/haikuwebkit/blob/haiku/Source/WebKitLegacy/win/WebDownloadCurl.cpp
Likely we need to do the same for our versions of WebDownload.