Commit Graph

277 Commits

Author SHA1 Message Date
Charles Kerr 1184d58302 (trunk libT) revert r9026 from ticket #2357 2009-09-01 03:42:16 +00:00
Charles Kerr 78b23a933d (trunk libT) #2357: the "upload_only" key sent in PEX should also be sent to trackers 2009-08-31 18:33:25 +00:00
Charles Kerr fdc61b0d0b (trunk libT) #2373: Handle HTTP redirects more gracefully 2009-08-31 17:18:58 +00:00
Charles Kerr 8e4d837967 (trunk, libT) fix for #2269 ("error message cleared unexpectedly"): a successful scrape clears the error message, and there's no point in scraping an error torrent anyway, so don't scrape until the torrent's error is cleared by a successful announce. 2009-08-12 20:12:52 +00:00
Charles Kerr 57716a0950 (trunk libT) #2211: Behaviour when tracker barfs 2009-08-11 21:31:33 +00:00
Charles Kerr cb79214854 (trunk) remove trailing spaces 2009-08-10 20:04:08 +00:00
Charles Kerr 24bb159bfe (trunk libT) #2137: .resume file gets saved too frequently 2009-08-07 05:29:37 +00:00
Charles Kerr 24746cff7f (trunk libT) minor #include futzing 2009-07-01 14:58:57 +00:00
Charles Kerr 19a8b6193c (trunk libT) #2225: support supportcypto and requirecrypto flags in http tracker announces 2009-06-18 20:33:04 +00:00
Charles Kerr 17cb7945ed (trunk libT) #2199: DHT should not announce stopped torrents 2009-06-11 21:42:59 +00:00
Charles Kerr f538b08fb3 (trunk libT) tracker.c was using tr_benc's private fields 2009-06-01 18:12:36 +00:00
Charles Kerr 38ffac8bf6 (trunk libT) fix bug that misparsed the tracker's min_request_interval 2009-06-01 18:06:35 +00:00
Charles Kerr 3d7cc36424 (trunk) #7: DHT support. This is a work in progress... no gui/rpc support yet 2009-05-19 18:38:26 +00:00
Charles Kerr 1fc7f10b6c (trunk libT) #2035: Transmission causes wakeups by unnecessary polling 2009-05-13 20:54:35 +00:00
Charles Kerr 098658e3ad (trunk libT) tweak the bencode comments a bit 2009-04-21 16:52:28 +00:00
Charles Kerr 248a0c7fcb (trunk) change the bencode type enum to prevent OS-level collision 2009-04-05 18:02:11 +00:00
Erick Turnquist dd7eb76718 (trunk libT) remove tr_suspectAddress() since all seems well 2009-03-27 01:14:25 +00:00
Charles Kerr e04fe5daaf (trunk libT) #1791: debug message cleanup in tracker.c 2009-02-06 21:17:23 +00:00
Charles Kerr bbddcf2774 (trunk libT) maybe fix the crasher (on the mac) that I introduced this morning. or maybe not. hard to know w/o being on a mac. 2009-02-04 18:54:29 +00:00
Charles Kerr 93642c5c4d (trunk libT) Biaaru: repeat the TR_DEBUG_FD test on this please :) 2009-02-04 18:19:37 +00:00
Charles Kerr 4e8dcad90b (trunk libT) hack on the r7824 crasher reported by Biiaru and m1b. This probably won't fix it but it should crash in a more informative way :) 2009-02-04 17:38:40 +00:00
Charles Kerr 08289b9d13 (trunk libT) #1748: possible fix for the kqueue corruption errors by consolidating the three per-torrent libevent timers into three session-wide timers. Since most people reporting this error have lots of torrents loaded, consider a hypothetical example: if you had 500 torrents, this patch will reduce 1,500 libevent timers down to just three timers. On top of that, those three have simpler life cycles too... 2009-02-04 16:58:52 +00:00
Erick Turnquist 88a399eb20 (trunk libT) fix r7717 2009-01-16 06:40:23 +00:00
Charles Kerr 4b414e8f2d (trunk libT) fix tracker IPv6 error reported by the earth spirit 2009-01-16 04:36:36 +00:00
Charles Kerr f945058de0 (trunk libT) minor torrent iteration cleanup. (wereHamster, charles) 2009-01-13 16:51:38 +00:00
Charles Kerr fe816d8135 (trunk) update the GPL code's copyright dates 2009-01-10 23:09:07 +00:00
Charles Kerr f2c9d270b0 (trunk libT) do scrape paused torrents. 2009-01-04 02:05:17 +00:00
Charles Kerr 422d1b0f97 (trunk libT) don't scrape paused torrents. 2009-01-04 02:01:57 +00:00
Charles Kerr ead8254b85 (trunk libT) tr_torrentStat() speedups 2009-01-03 23:11:29 +00:00
Charles Kerr 78cf80d3c0 (trunk libT) experimental code to get more peers faster 2009-01-03 07:23:26 +00:00
Charles Kerr 199e38dd66 (trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_completion, contain the it directly rather than a pointer to one allocated elsewhere on the heap. 2009-01-02 17:01:55 +00:00
Charles Kerr 1c71e622e1 (trunk libT) minor cleanup: use symbolic name instead of magic numbers; use tr_bool instead of int 2008-12-30 02:43:51 +00:00
Charles Kerr f761311018 (trunk libT) avoid a few more unnecessary malloc() + free() pairs 2008-12-30 00:56:10 +00:00
Charles Kerr a8e15578f3 (trunk libT) use torrent's unique ID as the torrent's lookup key 2008-12-29 21:17:48 +00:00
Charles Kerr c52d9fedab (trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_publisher, contain the it directly rather than a pointer to one allocated elsewhere on the heap. 2008-12-29 18:10:07 +00:00
Charles Kerr dfcc9173e5 (trunk libT) #include "session.h" cleanup from wereHamster 2008-12-23 17:27:15 +00:00
Erick Turnquist 38efb62100 add some debugging stuff to track down where some bogus addresses are coming from 2008-12-21 19:13:52 +00:00
Charles Kerr 9594112d27 updated email address 2008-12-16 00:20:44 +00:00
Charles Kerr 54be88dec3 (trunk libT) add ipv6 support by jhujhiti. I think this is the largest user-contributed patch we've ever used... thanks jhujhiti :) 2008-12-15 00:17:08 +00:00
Charles Kerr 5d36543c40 (libT) #1557: handshake peer-id doesn't match the peer-id sent in the tracker announce 2008-12-04 05:27:59 +00:00
Charles Kerr d4ee0d714a (libT) #1379: support "partial seeds" BEP 22 2008-12-02 19:46:51 +00:00
Charles Kerr 9d39ed2540 (libT) misc cleanup 2008-12-02 18:24:26 +00:00
Charles Kerr 0d5fed6442 (libT) re-apply jhujhiti's IPv6 patch. This merges in my tr_port cleanup, so any new bugs are mine :/ 2008-12-02 03:41:58 +00:00
Charles Kerr a14621c363 (libT) janitorial: use the tr_port type whenever we have a `port' as a function argument or as a field in a struct. 2008-12-01 20:51:01 +00:00
Charles Kerr 7fa9813955 (libT) #252: revert r7195 (jhujhiti's IPv6 test patch). It seems to be the culprit in a `thrashing' issue reported by Waldorf and m1b in irc -- the behavior appeared between r7183 and r7187 -- so this commit is to trigger off a nightly build w/o the patch to test with in irc. 2008-12-01 20:21:06 +00:00
Charles Kerr a2ad4f6543 (libT) patch from jhujhiti to add ipv6 support. 2008-11-30 00:47:18 +00:00
Charles Kerr d12af295c1 use tr_bool instead of C bitfields. (http://blogs.msdn.com/oldnewthing/archive/2008/11/26/9143050.aspx) 2008-11-28 22:11:41 +00:00
Charles Kerr 25c33e7bb2 (libT) #1447: Tracker request failed. Got HTTP Status Code: 0 (No Response) 2008-11-12 04:27:02 +00:00
Charles Kerr 9fe6f403eb janitorial.
(1) re-enable `deflate' in transmission-remote iff libz is installed
(2) change c++-style comments to c-style comments
(3) add positional arguments to a couple of libT strings marked for translation
2008-10-27 18:09:15 +00:00
Charles Kerr 98168cb605 (libT) #1359: Transmission shows no tracker error when unable to contact the tracker 2008-10-27 18:00:03 +00:00