wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wget-dev] wget2 | wget2 falls on infinite loop when protocol is FTP (#4


From: DalmeGNU
Subject: [Wget-dev] wget2 | wget2 falls on infinite loop when protocol is FTP (#460)
Date: Sat, 17 Aug 2019 13:20:20 +0000


DalmeGNU created an issue:


  ```
$ ./wget2 -d ftp://ftp.gnu.org/video/GNU_Psycosynth.ogv
17.143450.683 Local URI encoding = 'UTF-8'
17.143450.684 Input URI encoding = 'UTF-8'
17.143450.684 Fetched HSTS data from '/home/dalme/.local/share/wget/.wget-hsts'
17.143450.684 Fetched HPKP data from '/home/dalme/.local/share/wget/.wget-hpkp'
17.143450.684 Fetched OCSP hosts from 
'/home/dalme/.local/share/wget/.wget-ocsp_hosts'
17.143450.684 Fetched OCSP fingerprints from 
'/home/dalme/.local/share/wget/.wget-ocsp'
17.143450.684 set_exit_status(0)
17.143450.684 *url = 
17.143450.684 *3 ftp://ftp.gnu.org/video/GNU_Psycosynth.ogv
17.143450.684 local filename = 'GNU_Psycosynth.ogv'
17.143450.684 host_add_job: job fname GNU_Psycosynth.ogv
17.143450.684 host_add_job: 0x1355690 ftp://ftp.gnu.org/video/GNU_Psycosynth.ogv
17.143450.684 host_add_job: qsize 1 host-qsize=1
17.143450.684 queue_size: qsize=1
17.143450.685 queue_size: qsize=1
17.143450.685 queue_size: qsize=1
17.143450.685 [0] action=1 pending=0 host=0x0
17.143450.685 dequeue job ftp://ftp.gnu.org/video/GNU_Psycosynth.ogv
17.143450.685 resolving ftp.gnu.org...
17.143455.891 has 209.51.188.20:0
17.143455.891 has 2001:470:142:3::b:0
17.143455.891 trying 209.51.188.20:0...
17.143455.891 established connection ftp.gnu.org
[0] Downloading 'ftp://ftp.gnu.org/video/GNU_Psycosynth.ogv' ...
17.143455.891 cookie_create_request_header for host=ftp.gnu.org 
path=video/GNU_Psycosynth.ogv
Failed to write 233 bytes (110: Expiró el tiempo de conexión)
17.143703.205 host_increase_failure: ftp.gnu.org failures=1
17.143703.205 [0] action=3 pending=1 host=0x1355610
17.143703.205 closing connection
17.143703.205 released job ftp://ftp.gnu.org/video/GNU_Psycosynth.ogv
17.143703.205 [0] action=1 pending=0 host=0x0
17.143703.205 host ftp.gnu.org is paused 1000ms
17.143703.205 main: wake up
17.143703.205 queue_size: qsize=1
17.143704.205 [0] action=1 pending=0 host=0x0
17.143704.205 dequeue job ftp://ftp.gnu.org/video/GNU_Psycosynth.ogv
17.143704.205 Found dns cache entry ftp.gnu.org:0
17.143704.205 trying 209.51.188.20:0...
17.143704.205 established connection ftp.gnu.org
[0] Downloading 'ftp://ftp.gnu.org/video/GNU_Psycosynth.ogv' ...
```

I stopped it after 36 minutes of execution repeating the log between the two 
"[0] Downloading ...". I know wget2 doesn't support FTP, but it would be nice 
that instead of falling in that loop it just returns an error (I think wget2 
did it when I started to contribute)

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/issues/460
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]