Date: Mon, 18 Dec 2017 15:29:32 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 224426] fetch -i runs in an endless loop Message-ID: <bug-224426-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224426 Bug ID: 224426 Summary: fetch -i runs in an endless loop Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: wosch@FreeBSD.org I wanted to try out the -i option of the fetch(1) command for the build of = our website. -i file, --if-modified-since=3Dfile If-Modified-Since mode: the remote file will only be retrieved if it is newer than file on the local host. (HT= TP only) I also had the -a option in use. I run into an endless loop. how to repeat: # first run, file is not up-to-date $ touch index.html $ time fetch -a -o index.html -i index.html https://www.FreeBSD.org=20 real 0m0.887s user 0m0.019s sys 0m0.016s # second run, file is up-to-date $ time fetch -a -o index.html -i index.html https://www.FreeBSD.org time fetch -a -o index.html -i index.html https://www.FreeBSD.org=20=20=20= =20=20=20=20=20=20 fetch: https://www.FreeBSD.org: Not Modified fetch: https://www.FreeBSD.org: Not Modified fetch: https://www.FreeBSD.org: Not Modified fetch: https://www.FreeBSD.org: Not Modified fetch: https://www.FreeBSD.org: Not Modified fetch: https://www.FreeBSD.org: Not Modified fetch: https://www.FreeBSD.org: Not Modified fetch: https://www.FreeBSD.org: Not Modified fetch: https://www.FreeBSD.org: Not Modified fetch: https://www.FreeBSD.org: Not Modified ^C --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224426-8>