aMule Forum

English => en_Bugs => Topic started by: gav616 on October 27, 2010, 01:40:33 PM

Title: 'download-only-if-newer' not on compressed?
Post by: gav616 on October 27, 2010, 01:40:33 PM
Sorry if this is just common knowledge and nothing can be done.

but, why is it that 'uncompressed' filters use the feature effectively and are not constantly downloaded, but on the same URL some 'compressed' file are downloaded regardless if there new or not.

E.G.

http://update.transmissionbt.com/level1
Quote
2010-10-27 12:18:45: Successfully updated ipfilter.dat
2010-10-27 12:18:45: Loading IP filters 'ipfilter.dat' and 'ipfilter_static.dat'.
2010-10-27 12:18:45: Loaded 224876 IP-ranges from '/home/gav/.aMule/ipfilter.dat'.
2010-10-27 12:18:46: Loaded 0 IP-ranges from '/home/gav/.aMule/ipfilter_static.dat'.
2010-10-27 12:18:46: IP filter is ready
2010-10-27 12:18:58: Skipped download of ipfilter.dat, because requested file is not newer.

http://update.transmissionbt.com/level1.gz
Quote
2010-10-27 12:18:45: Successfully updated ipfilter.dat
2010-10-27 12:18:45: Loading IP filters 'ipfilter.dat' and 'ipfilter_static.dat'.
2010-10-27 12:18:45: Loaded 224876 IP-ranges from '/home/gav/.aMule/ipfilter.dat'.
2010-10-27 12:18:46: Loaded 0 IP-ranges from '/home/gav/.aMule/ipfilter_static.dat'.
2010-10-27 12:18:46: IP filter is ready
2010-10-27 12:18:58: Skipped download of ipfilter.dat, because requested file is not newer.
2010-10-27 12:26:59: Successfully updated ipfilter.dat
2010-10-27 12:26:59: Loading IP filters 'ipfilter.dat' and 'ipfilter_static.dat'.
2010-10-27 12:27:00: Loaded 224876 IP-ranges from '/home/gav/.aMule/ipfilter.dat'.
2010-10-27 12:27:00: Loaded 0 IP-ranges from '/home/gav/.aMule/ipfilter_static.dat'.
2010-10-27 12:27:00: IP filter is ready
2010-10-27 12:27:37: Successfully updated ipfilter.dat
2010-10-27 12:27:37: Loading IP filters 'ipfilter.dat' and 'ipfilter_static.dat'.
2010-10-27 12:27:38: Loaded 224876 IP-ranges from '/home/gav/.aMule/ipfilter.dat'.
2010-10-27 12:27:38: Loaded 0 IP-ranges from '/home/gav/.aMule/ipfilter_static.dat'.
2010-10-27 12:27:38: IP filter is ready

And BTW It's not updating it because there's a new version, notice the time in the logs.
Title: Re: 'download-only-if-newer' not on compressed?
Post by: Stu Redman on October 27, 2010, 08:17:50 PM
Please check the timestamp of the unpacked file. Then touch it and see if the download is skipped then.
I believe we need to touch the unpacked file to make this work.
Title: Re: 'download-only-if-newer' not on compressed?
Post by: gav616 on October 27, 2010, 09:06:02 PM
Please check the timestamp of the unpacked file. Then touch it and see if the download is skipped then.
I believe we need to touch the unpacked file to make this work.

I believe so, but I checked both files with  the 'eMule' mod 'MorphXT' and it seems it handles both files in the same way (sorry, I don't know exactly now, but the source is there)
Title: Re: 'download-only-if-newer' not on compressed?
Post by: gav616 on October 28, 2010, 06:22:13 PM
http://list.iblocklist.com/?list=bt_level1

the skip works fine and it's compressed. hmmm.

certain links must just not work with this feature.
Title: Re: 'download-only-if-newer' not on compressed?
Post by: Vollstrecker on October 28, 2010, 11:52:44 PM
Skipping is just possible if the server tells you the timestamp. Some do, some don't and some always report current time.
Title: Re: 'download-only-if-newer' not on compressed?
Post by: Kry on October 29, 2010, 01:04:04 AM
If-modified-since only works when the server supports it, of course.