https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224426
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: wo...@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=file If-Modified-Since mode: the remote file will only be retrieved if it is newer than file on the local host. (HTTP 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 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 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 -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"