[BUG] busybox wget doesn't download more than 4k of data, without any progress bar, and exits succesfully

gotrunks at gmail.com gotrunks at gmail.com
Fri Feb 11 18:58:32 UTC 2011


On Fri, Feb 11, 2011 at 3:24 PM, gotrunks at gmail.com <gotrunks at gmail.com> wrote:
> On Fri, Feb 11, 2011 at 2:39 PM, Gilles Espinasse <g.esp at free.fr> wrote:
>> Selon "gotrunks at gmail.com" <gotrunks at gmail.com>:
>>
>>> package: busybox
>>> versions 1.18.x (1.18.0 and 1.18.3 tested)
>>>
>>> when I try to download something, like google home page:
>>> netol at edward:~/dev/busybox-1.18.3$ ./busybox wget http://www.google.cat
>>> Connecting to www.google.cat (74.125.230.82:80)
>>> netol at edward:~/dev/busybox-1.18.3$ ls -l index.html
>>> -rw-r--r-- 1 netol netol 4096 Feb 11 13:36 index.html
>>>
>>>
>>> with version 1.17.4:
>>>
>>> netol at edward:~/dev/busybox-1.17.4$ ./busybox wget http://www.google.cat
>>> Connecting to www.google.cat (74.125.230.83:80)
>>> index.html           100% |******************************************|
>>>  9222  --:--:-- ETA
>>> netol at edward:~/dev/busybox-1.17.4$ ls -l index.html
>>> -rw-r--r-- 1 netol netol 9222 Feb 11 13:44 index.html
>>>
>>>
>>> busybox-1.17.4/index.html is correct
>>> busybox-1.18.3/index.html is trunked
>>>
>>> I'm using Debian 6.0 and Ubuntu 10.10, 32 bits. Compiling with default
>>> options.
>>>
>>>
>>> Regards,
>>> Pere.
>>
>> You should try applying 1.18.3 patches as there is a patch for wget.
>> http://busybox.net/downloads/fixes-1.18.3/
>>
>> If that does not work, send your .config
>>
>> Gilles
>>
>
> Thanks, I missed the patch. It's working now.
>
> Pere.
>

I'm noticing that wget doesn't work on current git (get: read error).
I suppose that this is expected because someone is working on it.
But if I want to add a new wget feature, what is the wget.c version I
must work on? last stable or last git?

Regards,
Pere.


More information about the busybox mailing list