lasttime not always last word

Dan Jacobson <[email protected]> Fri, 18 Aug 2006 08:15:17 +0800
Newsgroups gmane.network.wwwoffle.user
Message-ID <[email protected]>
Shocked that lasttime didn't have my million byte download,
$ wwwoffle-ls lasttime|grep http://example.com/bla
Dl7E74frPxocV7qzzUndJgg     960 Aug 18  5:58 http://example.com/bla
I did in fact find it,
$ wwwoffle-ls http://example.com/bla
Dl7E74frPxocV7qzzUndJgg 2377140 Aug 18  6:16 http://example.com/bla
It turns out if one makes several download attempts, only the first
one is in lasttime. One must check with
$ find /var/cache/wwwoffle/lasttime/ -name U\* ! -links 2|xargs sed :; echo
http://example.com/bla
http://nurd.turd/bla
for such cases.  I'd say it is a bug.
Reproduce with
$ wwwoffle -online
$ wget some file that is 600 mode upstream: 403 Forbidden
$ ssh upstream chmod 644 that file
$ wget it again