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

1062 commits

Author SHA1 Message Date
Charles Kerr
bddcf5e10d fix crash on shutdown on natpmp routers reported by SoftwareElves 2007-12-13 20:19:52 +00:00
Charles Kerr
7f335e1bf0 follow Chinstrap's suggestion of waiting a small interval between sending nat commands as per the nat spec 2007-12-13 19:28:51 +00:00
Charles Kerr
a51d790d81 take pea_'s suggestion of not sending out natpmp/upnp discover messages until port forwarding is enabled 2007-12-13 18:56:22 +00:00
Charles Kerr
39773104be accept tiennou's file-checking tweak that clarifies the log messages 2007-12-13 17:28:13 +00:00
Charles Kerr
c4e6a04131 tweak the debug messages 2007-12-13 17:18:35 +00:00
Mitchell Livingston
1b6a8a9504 display the infinity symbol in stats for ratio when there is upload but no download 2007-12-13 04:31:38 +00:00
Charles Kerr
e1d10bba7e add extra debugging messages for upnpDiscover() 2007-12-13 02:48:30 +00:00
Charles Kerr
c8c9012697 fix the 500ms remap reported by Chinstrap 2007-12-13 01:20:16 +00:00
Charles Kerr
c2e314743f added more upnp debugging messages for Chinstrap_ 2007-12-09 17:50:05 +00:00
Charles Kerr
7249aed5e4 fix r4109 oops: a debugging console message snuck into svn 2007-12-09 17:17:44 +00:00
Charles Kerr
ffe9e52e14 I think this one-line change may fix all the "Transmission 0.95 ate my data, corrupted my hard drive, and killed my cat!" complaints 2007-12-09 15:26:27 +00:00
Charles Kerr
33f284ead1 let the other config directories that we create also respect umask 2007-12-09 15:22:01 +00:00
Charles Kerr
67a86a2274 finish the `shared' update: bind & listen the incoming port.
better logging in network code.
2007-12-09 00:28:34 +00:00
Charles Kerr
b17d8c34f8 undo r4093 for bmw 2007-12-08 19:47:44 +00:00
Charles Kerr
008a403463 ensure that the `file' variable passed to tr_msg() is never NULL 2007-12-08 19:42:07 +00:00
Charles Kerr
73ee11f233 Use libnatpmp for port mapping. rewrite the upnp/natpmp manager.
NOTE: this will break the xpjets build until SoftwareElves or a volunteer patches the xcode project file to make a libnatpmp library just like was done for libminiupnp.
2007-12-08 19:34:15 +00:00
Charles Kerr
d3d1263a84 use fizz' suggestion on from ticket #534 on how to make platform.c more portable wrt header include order 2007-12-07 19:25:54 +00:00
Charles Kerr
481a210e82 fix tracker connection error reported by Gimp_ 2007-12-05 02:06:05 +00:00
Charles Kerr
39d8c74fcd small tweak to play nice with old C compilers. Thanks to fizz for reporting & submitting a patch 2007-12-03 19:52:55 +00:00
Charles Kerr
de9080e9ef fix tyop 2007-12-03 16:51:22 +00:00
Charles Kerr
f0d1fa0a76 finish fixing the recursive mutex + cond bug reported by sedatg & Waldorf 2007-12-03 15:27:38 +00:00
Charles Kerr
c68af92039 fix very annoying recursive mutex + pthread cond bug reported by setatg, Waldorf, and many others 2007-12-03 04:06:45 +00:00
Charles Kerr
7b068ed926 more mutex work 2007-12-02 18:20:37 +00:00
Charles Kerr
5e88ab235b possibly get the pthread changes compiling for old versions of Linux 2007-12-02 17:15:52 +00:00
Charles Kerr
b14449fe80 possible fix for the crash reported by sedatg in ticket #519 2007-12-02 16:35:44 +00:00
Charles Kerr
abef433926 improve upload speeds when the speed limits are uncapped. 2007-12-01 23:08:34 +00:00
Charles Kerr
f534d0929c use PMP_MCAST_ADDR, instead of a hardcoded address, in net.c 2007-12-01 05:11:30 +00:00
Charles Kerr
78f3c40484 get nat-pmp working again in Leopard. Thanks to Chinstrap for tracking down the problem & submitting a patch. See the comment in this changeset for more details. 2007-12-01 05:01:02 +00:00
Charles Kerr
0e1e7efd3b take inspiration from Solomon when handling odd tracker errors that confuse tracker's request queue: stop the torrent.
when the tracker gives us errors that confuse the tracker work queue,
2007-11-30 23:37:44 +00:00
Charles Kerr
f2a08d272f be more forgiving of tracker failure 2007-11-30 17:10:33 +00:00
Charles Kerr
332019593d speed tweaks based on whitty's feedback 2007-11-29 02:56:31 +00:00
Charles Kerr
f9670dc7ac throw away all pending `scrape' requests on shutdown... we don't need them then, so they just slow us down 2007-11-29 02:31:21 +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
1e4b3a0577 make the peer stats a little easier to understand 2007-11-27 21:39:41 +00:00
Charles Kerr
398bc04bcf housekeeping. revert r3984 at tiennou's request 2007-11-27 15:39:59 +00:00
Charles Kerr
27f08f325d fix upload speed limit bug tracked down by makira_ 2007-11-27 04:27:03 +00:00
Charles Kerr
d0047acc86 reimplement tr_buildPath() using struct evbuffer 2007-11-27 04:11:39 +00:00
Charles Kerr
0663c4aef7 possible fix for Zeph's "too many open files" bug report. 2007-11-26 21:26:01 +00:00
Charles Kerr
81ea9b4abd sloppy, sloppy. what should've been 1 commit has been 5. 2007-11-26 20:44:53 +00:00
Charles Kerr
033ee7ff58 fix crash-on-exit introduced by stats code 2007-11-26 20:44:19 +00:00
Charles Kerr
cf85da1759 plug in the stats.filesAdded field 2007-11-26 20:37:07 +00:00
Charles Kerr
548e0324ab fix stupid bug introduced in the last stats commit 2007-11-26 20:27:07 +00:00
Charles Kerr
56b71bd144 remove dead code 2007-11-26 20:22:08 +00:00
Charles Kerr
07f2e6365a move tr_getDefaultRoute() to natpmp.c because it's the only code that uses it 2007-11-26 20:21:52 +00:00
Charles Kerr
c3c4b699b9 stats 2007-11-26 20:20:46 +00:00
Charles Kerr
2185081fcb more stats 2007-11-26 20:05:46 +00:00
Mitchell Livingston
bf3bd6bd5d avoid divide-by-0 in stats 2007-11-26 19:18:00 +00:00
Mitchell Livingston
6b5f1839aa get last commit building 2007-11-26 19:10:53 +00:00
Charles Kerr
3aae5534bd work on the stats a little bit. 2007-11-26 18:55:36 +00:00
Charles Kerr
0ed3610468 fix crash on startup reported by Gimp_ 2007-11-26 05:03:28 +00:00