Re: wget: --no-cache option (noop) wanted

2012-06-17 Thread Denys Vlasenko
On Thursday 14 June 2012 23:19, John Spencer wrote: > On 06/13/2012 05:32 PM, Denys Vlasenko wrote: > > On Thu, Jun 7, 2012 at 3:30 PM, John Spencer > > wrote: > >> in gnu wget, it is not important if you place --options before or after the > >> url, but bb wget fails. > > Are you sure? > > root

Re: wget: --no-cache option (noop) wanted

2012-06-17 Thread Denys Vlasenko
On Wednesday 13 June 2012 17:48, Rich Felker wrote: > > Proposed fix: > > > > [...] > > +static void reset_beg_range_to_zero(void) > > +{ > > + //bb_error_msg("restart failed"); > > + G.beg_range = 0; > > + xlseek(G.output_fd, 0, SEEK_SET); > > + ftruncate(G.output_fd, 0); > > This behavi

Re: wget: --no-cache option (noop) wanted

2012-06-14 Thread John Spencer
On 06/13/2012 05:32 PM, Denys Vlasenko wrote: On Thu, Jun 7, 2012 at 3:30 PM, John Spencer wrote: in gnu wget, it is not important if you place --options before or after the url, but bb wget fails. Are you sure? root:/src/build$ busybox wget http://l.yimg.com/a/i/mntl/ww/events/p.gif --no-

Re: wget: --no-cache option (noop) wanted

2012-06-13 Thread Rich Felker
On Wed, Jun 13, 2012 at 05:32:24PM +0200, Denys Vlasenko wrote: > On Thu, Jun 7, 2012 at 3:30 PM, John Spencer > wrote: > > in gnu wget, it is not important if you place --options before or after the > > url, but bb wget fails. > > Are you sure? I thought this made sense (behavior based on the u

Re: wget: --no-cache option (noop) wanted

2012-06-13 Thread Denys Vlasenko
On Thu, Jun 7, 2012 at 3:30 PM, John Spencer wrote: > in gnu wget, it is not important if you place --options before or after the > url, but bb wget fails. Are you sure? > another broken thing in busybox wget is the -c switch which should enable > resuming of incomplete downloads, but when this

Re: wget: --no-cache option (noop) wanted

2012-06-12 Thread Vladimir Dronnikov
> good idea, while you're at it you could also add an option so that wget > ignores --no-check-certificate Seems it is already in the master. But I wonder if we could employ openssl binary as connection helper, just like we do for sendmail? The point is that https:// is becoming more and more a mu

Re: wget: --no-cache option (noop) wanted

2012-06-12 Thread Vladimir Dronnikov
>> Wonder whether it's feasible if I provide a patch for busybox to take >> and ignore "--no-cache" long option? > > Yes please. Please, consider applying. TIA, --Vladimir wget-no-cache.diff Description: Binary data ___ busybox mailing list busybox@bu

Re: wget: --no-cache option (noop) wanted

2012-06-08 Thread Denys Vlasenko
On Thursday 07 June 2012 15:03, Vladimir Dronnikov wrote: > Hi! > > Recent luarocks (package manager for Lua) use `wget --no-cache ...` to > fetch data. > Wonder whether it's feasible if I provide a patch for busybox to take > and ignore "--no-cache" long option? Yes please. _

Re: wget: --no-cache option (noop) wanted

2012-06-07 Thread John Spencer
On 06/07/2012 03:30 PM, John Spencer wrote: another broken thing in busybox wget is the -c switch which should enable resuming of incomplete downloads, but when this option is used with a server that doesnt support REST it will fail to download at all. iirc this happened with the zlib.net ser

Re: wget: --no-cache option (noop) wanted

2012-06-07 Thread John Spencer
On 06/07/2012 03:03 PM, Vladimir Dronnikov wrote: Hi! Recent luarocks (package manager for Lua) use `wget --no-cache ...` to fetch data. Wonder whether it's feasible if I provide a patch for busybox to take and ignore "--no-cache" long option? TIA, --Vladimir ___

wget: --no-cache option (noop) wanted

2012-06-07 Thread Vladimir Dronnikov
Hi! Recent luarocks (package manager for Lua) use `wget --no-cache ...` to fetch data. Wonder whether it's feasible if I provide a patch for busybox to take and ignore "--no-cache" long option? TIA, --Vladimir ___ busybox mailing list busybox@busybox.ne