1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-24 23:12:35 +00:00
Commit graph

2246 commits

Author SHA1 Message Date
Charles Kerr
c08f370e8a (trunk libT) #1798: TM crashes when receiving malformed JSON packet 2009-02-09 16:01:10 +00:00
Erick Turnquist
72297dbdb4 (trunk libT) suppress ipv6 EHOSTUNREACH as well as ENETUNREACH 2009-02-08 22:52:47 +00:00
Erick Turnquist
fc767a3f03 (trunk libT) don't attempt to connect to (half-complete) ipv6 link-local addresses 2009-02-08 22:45:30 +00:00
Mitchell Livingston
af7cbb94ad undo part of last commit....for now 2009-02-07 14:49:01 +00:00
Mitchell Livingston
3cc8440e78 trivial cleanup 2009-02-07 14:46:43 +00:00
Erick Turnquist
61e505b8d1 (trunk libT) don't attempt to set V6ONLY on ipv4 sockets 2009-02-07 01:14:41 +00:00
Erick Turnquist
94b98030cb (trunk libT) stop using ipv4-mapped listener sockets. this should have the added effect of fixing #1789 2009-02-07 00:34:10 +00:00
Erick Turnquist
f3a2a35952 (trunk libT) only resolve ipv4 tracker addresses for now 2009-02-07 00:20:47 +00:00
Charles Kerr
ae985a5abb (trunk libT) update to the newest versions of miniupnp and libnatpmp 2009-02-07 00:11:58 +00:00
Charles Kerr
3821413390 (trunk libT) add in a crasher bug for Rolcol to find 2009-02-06 23:35:47 +00:00
Charles Kerr
e04fe5daaf (trunk libT) #1791: debug message cleanup in tracker.c 2009-02-06 21:17:23 +00:00
Charles Kerr
eb538aa492 (trunk libT) #1748 keep looking for a workaround 2009-02-06 21:14:05 +00:00
Charles Kerr
8572d81e00 (trunk libT) experimental fix for #1748: crash in event_queue_insert in thread1 2009-02-05 22:00:21 +00:00
Charles Kerr
46ff5598a7 (trunk libT) more hoops for Biiaru 2009-02-05 20:53:59 +00:00
Charles Kerr
e7c2fe4b46 (trunk libT) #1760: test fix for a deadlock that occurs stopping a file that's being verified 2009-02-05 19:57:50 +00:00
Charles Kerr
f04505c0f2 (trunk libT) add notation explaining the status between resume.c and fastresume.c 2009-02-05 16:02:38 +00:00
Charles Kerr
ee58379377 (trunk libT) #1748: judging from Biiaru's testing yesterday after I left, the problem is somewhere in web.c. Let's start by adding some cruel assertions in there. 2009-02-05 14:52:00 +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
Charles Kerr
6c7097d1f4 (trunk libT) more assertions 2009-01-30 00:41:08 +00:00
Charles Kerr
61e18f1d1b (trunk libT) yet even *more* assertions for Biiaru and persept :) 2009-01-29 16:56:43 +00:00
Charles Kerr
adc6791de3 (trunk libT) add more assertions to ensure that the libevent calls are all being made from the same thread 2009-01-28 19:35:39 +00:00
Charles Kerr
983455abbc (trunk libT) possible fix for the transfers-not-loaded-on-startup issue introduced in r7806 2009-01-27 02:01:04 +00:00
Charles Kerr
90f8a08794 (trunk libT) another possible fix for the libevent corruption issue -- libevent calls were being invoked from the gui thread at startup via tr_sessionInit()'s call to tr_webInit(). This revision moves those calls into the libtransmission/libevent thread. 2009-01-26 08:23:11 +00:00
Charles Kerr
8c9d5359b5 (trunk libT) add more assertions to make Biiaru crash more^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^Hhelp track down the cause of Biiaru's crashes 2009-01-26 02:51:50 +00:00
Charles Kerr
1e8c374fd5 (trunk libT) fsync busy files every 15 seconds or so. On linux, use posix_fadvise() to tell the system no to cache torrent blocks 2009-01-26 00:36:34 +00:00
Charles Kerr
9d7c74cc8a (trunk libT) try again to make hudson-t happy wrt posix_fadvise() 2009-01-25 23:47:07 +00:00
Charles Kerr
3b7494efd2 (trunk libT) possibly make hudson-t happy on Linux 2009-01-25 23:40:08 +00:00
Charles Kerr
00125c9726 (trunk libT) add mac, linux, and win32 support for os-level hints that local data will be read in random order, to disable readahead buffering. 2009-01-25 23:33:10 +00:00
Charles Kerr
29661cf245 (trunk libT) new macro, tr_assert(). use it to help smoke out #1749 2009-01-25 16:14:11 +00:00
Charles Kerr
f47cc0cf4d (trunk libT) #1794: possible fix -- better handling of zero-size files 2009-01-25 04:22:11 +00:00
Charles Kerr
6d6a76d48a (trunk libT) more of the same 2009-01-24 17:37:28 +00:00
Charles Kerr
5812b9f05b (trunk libT) more debugging messages 2009-01-24 17:20:07 +00:00
Charles Kerr
dd00672517 (trunk libT) more experimental code for Biiaru 2009-01-24 16:21:34 +00:00
Charles Kerr
40f3c725d7 (trunk libT) experimental commit that will *possibly* fix the "assert( tr_isPeerIo( io ) )" crash reported by Biiaru and others 2009-01-24 14:49:35 +00:00
Charles Kerr
7f82b7172c (trunk libT) don't limit peer bandwidth during the handshake phase. this solves a bug that made it difficult to connect to peers when the upload bandwidth is saturated. 2009-01-24 03:17:59 +00:00
Charles Kerr
ce9eff1fb2 (trunk libT) #1743: potential threading issue in tr_list. only affects 1.50b[1-3] 2009-01-24 02:33:25 +00:00
Charles Kerr
0b5558c3e3 (trunk libT) silence curl_easy_setopt -Wunreachable-code warnings 2009-01-24 00:25:11 +00:00
Charles Kerr
13c22f88ff (trunk libT) fix some code that the newly-added gcc warnings didn't like 2009-01-23 18:44:15 +00:00
Charles Kerr
6f95a057d0 (trunk libT) when deleting a torrent's local data -- folders and files -- use remove() instead of unlink() because the former handles both folders and files gracefully 2009-01-22 21:43:46 +00:00
Charles Kerr
b6c73370e3 (trunk libT) #1734: encrypted peers' outgoing RC4 stream can be corrupted by sending protocol messages out-of-order 2009-01-22 14:32:29 +00:00
Charles Kerr
46aa5c6fc0 (trunk libT) well, maybe it's not a problem with sending the pex messages, but with parsing it... 2009-01-22 04:20:30 +00:00
Charles Kerr
ba5d3f068d (trunk libT) add a couple of simple debugging messages 2009-01-21 04:02:39 +00:00
Charles Kerr
06887c9e9e (trunk libT) better implementation of r7761 to take into account feedback from repattila in the forums 2009-01-20 15:47:25 +00:00
Charles Kerr
4cbbefd656 (trunk libT) bah, fix r7761 oops 2009-01-20 05:45:03 +00:00
Charles Kerr
69404a8c36 (trunk libT) when pruning out slow peers, don't prune if we don't have good candidates to replace them. 2009-01-20 03:32:54 +00:00
Charles Kerr
1375c707ed (trunk libT) fix uninitialized variable in bandwidth code 2009-01-20 02:43:21 +00:00
Charles Kerr
dfd5c70916 (trunk libT) fix crash-on-add-torrent-from-clutch reported by anf6 2009-01-20 02:03:09 +00:00