[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] fix: wget hangs with -r and -O - (bug #40426)
From: |
Tim Rühsen |
Subject: |
Re: [Bug-wget] fix: wget hangs with -r and -O - (bug #40426) |
Date: |
Thu, 14 Nov 2013 21:29:14 +0100 |
User-agent: |
KMail/4.11.3 (Linux/3.11-1-amd64; KDE/4.11.3; x86_64; ; ) |
Am Donnerstag, 14. November 2013, 21:00:13 schrieb Tim Rühsen:
> Am Montag, 11. November 2013, 18:06:53 schrieb address@hidden:
> > Hello,
> >
> > In attachment a fix of the bug #40426
>
> Hi Daniele,
>
> thanks for your contribution.
>
> But it would be nice to have -O and -r working together.
>
> Did you try to find out why Wget blocks ?
You are right in fixing it the quick way.
Since Wget's designers decided to first save to disk and then load again the
same file, -O - and -r won't work together.
Wget is hanging because it reads from STDIN and waits for data.
To fix it, the downloaded file should stay in memory to be parsed OR be saved
twice when -O - comes together with -r ...
Tim
signature.asc
Description: This is a digitally signed message part.