patchmldonkey, a multi-networks file-sharing client - Patches: patch #4791, web_infos: New type geoip.dat,...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #4791: web_infos: New type geoip.dat, save files to local disk, re-download only if file on server is newer

Submitter:  spiralvoice <spiralvoice>
Submitted:  Thu 12 Jan 2006 10:57:51 AM UTC
   
 
Category:  Improved interfaces Priority:  5 - Normal
Status:  Done Assigned to:  None
Open/Closed:  Closed

Jump to the original submission

Thu 19 Jan 2006 02:13:23 AM UTC, comment #6: 

Applied 2006/01/19

spiralvoice <spiralvoice>
Group administrator
Thu 19 Jan 2006 02:07:24 AM UTC, comment #5: 

small update, delete downloaded rss files after parsing

spiralvoice <spiralvoice>
Group administrator
Wed 18 Jan 2006 12:22:40 PM UTC, comment #4: 

updated patch, complete feature list:
- now all files in web_infos are saved to local disk if not present or server version is newer
- MLDonkey uses HTML header last-modified to check if a file has been updated
- downloaded file timestamp is changed to last-modified time
- show number of IP blocking ranges in runinfo
- new web_infos kind: geoip.dat
- automatically add geoip.dat to web_infos
- support for *.gz|bz2|zip compressed GeoIP.dat files

spiralvoice <spiralvoice>
Group administrator
Tue 17 Jan 2006 12:35:13 AM UTC, comment #3: 

Updated patch to use Unix2.rename instead of Sys.rename to fix
unzip-bug for GeoIP.dat.gz when $TEMP and MLDonkey dir are on
different partitions.

spiralvoice <spiralvoice>
Group administrator
Sat 14 Jan 2006 10:01:57 PM UTC, comment #2: 

Add geoip.dat to web_infos

spiralvoice <spiralvoice>
Group administrator
Fri 13 Jan 2006 07:23:15 PM UTC, comment #1: 

I asked the people at maxmind.com:
-------------------------------------------------------------
My question now is, do you allow us to perform a HTTP HEAD
request on your webserver when MLDonkey starts to get the
"last-modified" header of GeoIP.dat.gz. With that MLDonkey
determines if the file was updated by checking the file creation
date of the local copy of GeoIP.dat.gz.
Users can choose to de-activate GeoIP support completely,
in this case no request will be sent to your servers.

MLDonkey will send an user agent in the style "MLDonkey/2.7.2"
so you can determine the load it puts on your servers.
-------------------------------------------------------------
Today I received an positive answer:
-------------------------------------------------------------
This should be fine, since you are checking the
header before downloading, so it shouldn't overload
the server, and we can monitor the traffic since
you are sending a identifying user agent string.
-------------------------------------------------------------

spiralvoice <spiralvoice>
Group administrator
Thu 12 Jan 2006 10:57:51 AM UTC, original submission:  

Saving files to local disk is enabled for guarding.p2p and geoip.dat types.

spiralvoice <spiralvoice>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #5113:  4791_2.patch added by spiralvoice (15KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 12 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-01-19 spiralvoice StatusReady For Test Done
    Open/ClosedOpen Closed
2006-01-19 spiralvoice Attached File- Added 4791_2.patch, #5787
2006-01-19 spiralvoice Attached File#5780 Removed
2006-01-19 spiralvoice Attached File#5783 Removed
2006-01-18 spiralvoice Attached File- Added 4791_2.patch, #5783
2006-01-17 spiralvoice Attached File- Added 4791.patch, #5780
2006-01-17 spiralvoice Attached File#5767 Removed
2006-01-14 spiralvoice StatusNone Ready For Test
2006-01-14 spiralvoice Attached File- Added 4791.patch, #5767
2006-01-14 spiralvoice Attached File#5759 Removed
2006-01-12 spiralvoice Attached File- Added wget.patch, #5759

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code