Commit Graph

88 Commits

Author SHA1 Message Date
Josh Elsasser a2066e56bf libtransmission:
Lazily bind the listening port to avoid spurious
 'Could not bind port 9090' error on startup.
2006-02-24 14:10:15 +00:00
Eric Petit 6197b6665c Added optimistic choking 2006-02-08 22:21:58 +00:00
Eric Petit c2fc72b477 Randomly choke and unchoke peers who upload less than 0.1KB/s to us,
instead of trying to compare their upload rates
2006-02-08 21:26:27 +00:00
Josh Elsasser a72881fdda Save resume information when a torrent finishes downloading. 2006-02-08 17:48:18 +00:00
Eric Petit d8bdcea349 Fixed fastResumeLoadOld 2006-02-08 16:49:00 +00:00
Josh Elsasser 9911026409 Merge the version 1 extensible resume file format,
as well as compatability code to read the existing version 0 files.
Note that older versions of transmission won't understand the version 1 format
and a hash check will be done on all the files.

Save uploaded and downloaded totals in the resume file.
2006-02-08 16:31:49 +00:00
Eric Petit 9b2e8566dd BeOS fixes 2006-02-07 09:34:30 +00:00
Eric Petit f1b113ec5b Cleaning and minor optims 2006-02-07 03:10:42 +00:00
Eric Petit fcd1c9a1a8 Force rates to 0 when paused, and download rate to 0 when seeding.
Increased OS X UI update interval to 1 second.
2006-02-07 02:32:50 +00:00
Eric Petit 355fe1273f Comments 2006-02-05 21:10:20 +00:00
Eric Petit 74b6e3f3ab Fixed no-limit upload 2006-02-05 09:42:38 +00:00
Eric Petit 77dc2be62a Fixed memleak
Don't count small messages in the download rate
2006-02-02 01:59:02 +00:00
Eric Petit 1d7f99b164 Workarounded a race condition 2006-02-01 14:05:48 +00:00
Eric Petit 00ef8642bf Fixes a crash (quite amazing that it didn't crash more often, actually...) 2006-01-31 07:11:28 +00:00
Eric Petit aa6c52ef46 Fixed a lame typo so the algorithm may actually work 2006-01-31 04:58:28 +00:00
Eric Petit ae8ef0dc83 Fixes a little memleak 2006-01-30 07:01:35 +00:00
Eric Petit cf392ea2c6 New choking algorithm (still needs work, it's inefficient, untested and
misses optimistic choking)
2006-01-30 06:54:31 +00:00
Eric Petit 76079f50e3 Fixed the build 2006-01-30 06:07:06 +00:00
Eric Petit b0bd6984ee s/2005/2006/ 2006-01-30 04:43:14 +00:00
Eric Petit 8c733df6a6 Added a rate calculator for each peer
Set up files for the choking algorithm (does nothing yet)
2006-01-30 04:42:43 +00:00
Eric Petit 28d43da1d1 Removed now unused tables and some now unused code 2006-01-30 02:13:40 +00:00
Eric Petit 58ec7a7e97 Rewrote rate control, background work for the download limit, the dl/ul
limits per torrent and for the choking algorithm
2006-01-30 01:58:27 +00:00
Eric Petit e5949bf6e2 Ignore requests for blocks we don't have, fixes the "readOrWrite ..." error 2006-01-28 04:05:20 +00:00
Josh Elsasser 9809dcb05d Send stopped and started events to trackers when the listening port is changed,
but without disrupting existing peer connections.
In the GTK prefs dialog, change the port immediately instead of on next invocation.
2006-01-25 17:20:21 +00:00
Josh Elsasser c2d5fe251e Fix a crash that I introduced with the shared port code. 2006-01-14 04:47:38 +00:00
Eric Petit 07b9da73fc Update 2006-01-11 2006-01-12 19:12:58 +00:00
Eric Petit f32ca66210 Update 2005-12-29 2006-01-12 19:01:41 +00:00
Eric Petit 82c038fabc Update 2005-12-26 2006-01-12 19:00:04 +00:00
Eric Petit 6c0a54caa5 Update 2005-12-25 2006-01-12 18:58:57 +00:00
Eric Petit 616ae26efa Update 2005-12-13 2006-01-12 18:52:15 +00:00
Eric Petit 39702a094a Update 2005-11-28 2006-01-12 18:44:29 +00:00
Eric Petit 5b06d13781 Update 2005-11-26 2006-01-12 18:43:18 +00:00
Eric Petit 835c3284dd Update 2005-11-24 2006-01-12 18:40:47 +00:00
Eric Petit 23ef3653e3 Update 2005-11-21 2006-01-12 18:33:20 +00:00
Eric Petit aad7bf22cb Update 2005-11-18 2006-01-12 18:32:29 +00:00
Eric Petit d2cc6ce7c6 Update 2005-11-17 2006-01-12 18:29:20 +00:00
Eric Petit 8adc2d7338 Update 2005-11-01 2006-01-12 18:20:48 +00:00
Eric Petit a6aa884776 Import from 2005-10-26 2006-01-12 17:43:21 +00:00