Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#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 pulkomandy, 2 years ago

Summary: Web+: all downloads failWeb+: all downloads fail with curl backend

comment:2 by pulkomandy, 2 years ago

Milestone: UnscheduledR1/beta4

comment:3 by waddlesplash, 2 years ago

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.

comment:4 by diver, 2 years ago

Blocking: 18112 added

comment:5 by pulkomandy, 2 years ago

Status: newin-progress

comment:7 by vidrep, 2 years ago

Not working on 64 bit after building HaikuWebKit (master).

comment:8 by pulkomandy, 2 years ago

Resolution: fixed
Status: in-progressclosed

comment:9 by bbjimmy, 2 years ago

Still broken in haikuwebkit1.9.1

comment:10 by humdinger, 2 years ago

Works here with, too, hrev56578+43, 64bit, and HaikuWebKit 1.9.1

comment:11 by humdinger, 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?):

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?

Note: See TracTickets for help on using tickets.