[Dillo-dev]downloads and pre2
On Tue, 4 May 2004, Yves de Champlain wrote:
Hi [...] Everything works fine except for this :
av_open_url: Url=>http://ftp.gnu.org/gnu/ddd/ddd-3.2.1.tar.gz< Connecting to 199.232.41.7 warning: Unhandled MIME type: <application/x-tar>
** CRITICAL **: file web.c: line 57 (a_Web_dispatch_by_type): assertion `dw != NULL' failed.
Of course, this does not start any download but after this, I still get messages in the shell but I will not have those from wget once I do "save link as" like I have if I do "save link as" before.
Effectively, a left click on a non-dillo-viewable MIME type URL triggers this error message. The code inside dillo assigns it to a "null-client" which means it continues to download but it's "ignored". This has some side effects, one of them is the transfer not being aborted (so it continues wasting bandwidth and memory). It also keeps a cache entry, so when a dpi download is requested it hits and gets fed from the cache! (not from a dpi). That's clearly a bug. This days I've been reviewing the code with a view to patch it, but it seems that a full patch (aborting the transfer, cleaning the cache entry, stopping the clients and offering a download dialog) may be too complex to debug in this pre-release testing stage. Aborting the download (which would allow for the later dpi download) looks simpler. I'm currently working on this. That, plus the two patches in CVS seem to round "pre2" and most probably become 0.8.1. Cheers Jorge.-
participants (1)
-
Jorge Arellano Cid