1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 18:18:10 +00:00
Commit graph

68 commits

Author SHA1 Message Date
Charles Kerr
858e691381 (trunk libT) add a wrapper function, tr_netCloseSocket(), around EVUTIL_CLOSESOCKET() so that not all of our code has to #include evutil 2009-10-27 20:27:27 +00:00
Charles Kerr
cb79214854 (trunk) remove trailing spaces 2009-08-10 20:04:08 +00:00
Charles Kerr
a2b9fcc592 (trunk libT) possible fix for #2078: Assertion failed: (tv->tv_usec >= 0) 2009-06-12 23:01:35 +00:00
Charles Kerr
101459ef46 (trunk) "assert( eh->die );" isn't shedding any light on the problem but it is pissing off many users, so let's remove it. 2009-06-09 22:02:58 +00:00
Charles Kerr
72fe1b7bea (trunk libT) try to smoke out the cause of #1992 2009-05-22 19:32:49 +00:00
Charles Kerr
6e089ef095 (trunk libT) #1992: could it really be this easy? if it is, wereHamster deserves the credit. if not, at least it was easy 2009-05-21 22:26:18 +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
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
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
fe816d8135 (trunk) update the GPL code's copyright dates 2009-01-10 23:09:07 +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
dfcc9173e5 (trunk libT) #include "session.h" cleanup from wereHamster 2008-12-23 17:27:15 +00:00
Charles Kerr
9594112d27 updated email address 2008-12-16 00:20:44 +00:00
Charles Kerr
788b397ecc (trunk libT) more semantic cleanup: tr_handle->tr_session, int->tr_bool, int->tr_port 2008-12-14 11:21:11 +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
06939cafa6 (libT) low-hanging fruit discovered from softwareelves' shark profile. 2008-10-26 15:39:04 +00:00
Charles Kerr
4ba7a222ab add some assertions to smoke out persept's crash too. 2008-10-19 22:04:47 +00:00
Charles Kerr
7d6f7b5b28 add some more assertions to try & smoke out Biiaru's crash 2008-10-19 20:10:29 +00:00
Charles Kerr
b1defc7c88 (libT) make a few changes to try & smoke out the crash reported by Biiaru 2008-10-19 19:54:53 +00:00
Charles Kerr
e990c95336 (libT) apply some changes from Spry's code 2008-10-15 19:52:15 +00:00
Charles Kerr
0b991a55c7 (libT) try again to get the libevent+libcurl code working 2008-10-15 16:43:51 +00:00
Charles Kerr
f6f9d898e4 (libT) #1327: win32 cannot select() on the file descriptors of pipe() 2008-10-14 18:17:33 +00:00
Charles Kerr
88ce8a5c44 more changes inspired by spry's `winport' code: for portability, use the standard __VA_ARGS__ macro for variadic macros instead of the CPP extensions. 2008-10-13 22:45:05 +00:00
Charles Kerr
1415b72017 #1336: fix some compiler warnings when building with -Wformat-security 2008-10-09 20:03:34 +00:00
Charles Kerr
bddf34d7a8 #1309: Web/RPC interface ACL ignored 2008-10-01 20:23:57 +00:00
Charles Kerr
859af09f37 (libT) maybe fix the evhttp issues that softwareelves reported 2008-10-01 04:26:38 +00:00
Charles Kerr
86b6e00321 (libT) make sure to init the rpc server with the correct event base. 2008-09-29 04:26:52 +00:00
Charles Kerr
cc89872dd4 run libT, cli, daemon, gtk through the source-code formatter "uncrustify" as promised/threatened 2008-09-23 19:11:04 +00:00
Charles Kerr
fb6db8d5ef readability tweak: remove thread names. (muks) 2008-08-12 14:03:03 +00:00
Charles Kerr
26261e3bde (rpc) fix crash when quickly toggling rpc on/off reported by John_Clay 2008-06-25 11:34:35 +00:00
Charles Kerr
6ba02efb58 #915: Does too many wake-ups when idle 2008-05-06 15:52:57 +00:00
Charles Kerr
73b1f106a3 maybe work on libcurl < 7.16.3 2008-04-24 19:38:59 +00:00
Charles Kerr
7ef2511ca8 #377: preliminary https support. this commit probably breaks mac and cli and is not for the faint of heart. 2008-04-24 01:42:53 +00:00
Charles Kerr
d8fa1dff77 if libevent logs an error message, send it to our message log via tr_nerr() 2008-03-18 02:23:39 +00:00
Charles Kerr
deaeb24cb5 cleanup #includes for errno & strerror 2008-02-19 04:16:04 +00:00
Charles Kerr
d4128740d1 since we're not using evdns, don't call evdns_init() and evdns_shutdown() anymore. 2008-01-21 23:36:43 +00:00
Charles Kerr
3a6396a3cb mingw portability fixes 2008-01-10 18:52:46 +00:00
Charles Kerr
ce6c33b7bf set copyright info to 2008 2008-01-01 17:20:20 +00:00
Charles Kerr
827dc86bb4 rewrite the tracker code. this should improve and/or fix a number of bugs, including "too many open files", "router death", "slow internet", and the mutex release crash. 2007-11-29 00:43:58 +00:00
Charles Kerr
41b1f76d9b remove more dead code. this scaffolding was to let libevent play nice back when we had one thread per torrent 2007-11-19 16:30:31 +00:00
Charles Kerr
807eff8416 remove dead code. 2007-11-15 22:03:22 +00:00
Charles Kerr
a048204380 remove dead code. 2007-11-15 16:43:46 +00:00
Charles Kerr
f1e85f5206 Increase the intervals on timers that won't affect performance. This reduces most of Transmission's PowerTOP footprint. 2007-11-11 20:27:13 +00:00
Charles Kerr
fd430fde90 undoing the r3773-r3774 experiment. 2007-11-09 20:07:52 +00:00
Charles Kerr
67b719c2de on Darwin, use NSCParameterAssert() instead of assert(). 2007-11-09 19:50:40 +00:00
Charles Kerr
99ea26c1c9 * try to get peers to scale up to speed faster.
* remove unnecessary steps when receiving block data from peers.
2007-11-09 01:22:15 +00:00
Charles Kerr
212470560e fix overflow error that caused timers with intervals larger than 35 minutes to be lost... which is nastier than it sounds, since that's shorter than many tracker announce intervals. 2007-10-18 18:32:58 +00:00
Charles Kerr
cbaf1b8faa commit more of tiennou's fastpeers patch 2007-10-10 16:39:12 +00:00
Charles Kerr
43a016cdb9 fix minor shutdown bug 2007-10-08 00:56:12 +00:00