1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-24 15:10:39 +00:00
Commit graph

2808 commits

Author SHA1 Message Date
Charles Kerr
d1935a4812 (trunk libT)
11:59 < klapaucjusz> charles: net.c line 314.
11:59 < klapaucjusz> Please change the value to 8192.
12:00 < charles> okay but why?
12:00 < klapaucjusz> I'm not sure it will trigger, but having space for 4 full-sized segments is always a good idea.
12:01 < klapaucjusz> It means you have a better chance of recovering from a lost segment
2009-12-02 20:03:27 +00:00
Charles Kerr
560ecbe9bb (trunk libT) fix implicit pointer conversion error when #included in C++ 2009-12-02 19:44:01 +00:00
Charles Kerr
6d008257c8 (trunk libT) minor tweaks: make bencode's int parser code more consistent; make some comments more readable 2009-12-02 15:16:29 +00:00
Charles Kerr
6eec59008c (trunk libT) experimental: Reduce SO_SNDBUF and SO_RCVBUF for tracker announce/scrape messages. Reduce SO_RCVBUF for outgoing peer connections on seeding torrents. 2009-12-02 05:30:46 +00:00
Mitchell Livingston
5392b262d7 10,000 log messages is enough for anyone 2009-12-02 01:55:09 +00:00
Mitchell Livingston
ad06c660c8 cap libT's message log 2009-12-01 23:20:00 +00:00
Charles Kerr
9f347f8df1 (trunk) #2119 "daemon should reload settings.json on SIGHUP" -- reload the blocklists, too. Suggested by nano- in irc. 2009-12-01 00:07:18 +00:00
Charles Kerr
12bfde0c2b (trunk) #1663 "crashes on shutdown if libevent loop doesn't exit soon enough" -- maybe crash less frequently now. 2009-11-30 04:58:03 +00:00
Mitchell Livingston
0563580dda inline tr_removeElementFromArray() 2009-11-30 01:31:05 +00:00
Charles Kerr
03351e9a4e (trunk libT) #2607 "avoid unnecessary calls to getPeerCandidates(), wasted cycles in peerIsInUse()" 2009-11-29 18:35:02 +00:00
Charles Kerr
33658647d6 (trunk libT) #2576 "IPv6 support for DHT (BEP #32)" -- silence message "IPv6 DHT not ready." Reported by KyleK; fixed by jch 2009-11-29 18:31:36 +00:00
Charles Kerr
5c3fd1b5cc (trunk libT) #2631 "Add webseed support to magnet links" 2009-11-29 17:49:58 +00:00
Charles Kerr
da7ab27ae2 (trunk libT) add SO_SNDBUF, SO_RCVBUF logging messages 2009-11-29 08:53:14 +00:00
Charles Kerr
a38fb59c6f (trunk libT, gtk) #2625 "ability to create a magnet link" -- add hook for generating a magnet link from a tr_torrent, and use it in the Torrent Properties dialog in the GTK+ client 2009-11-29 08:27:55 +00:00
Charles Kerr
63027e1d5a (trunk libT) resolve "noslashes" vs "keep_slashes" variable name inconsistency between the declaration and the definition of tr_http_escape() 2009-11-29 08:05:47 +00:00
Mitchell Livingston
4e615c55a0 trivial change to array size 2009-11-29 00:04:29 +00:00
Mitchell Livingston
87823ba99c set two blank functions as inline 2009-11-28 22:29:41 +00:00
Charles Kerr
de0d6af06b (trunk libT) remove unnecessary code 2009-11-28 16:25:05 +00:00
Charles Kerr
d1f9b8ddee (trunk libT) performance improvements to peer-mgr.c's peerIsInUse() 2009-11-28 07:15:31 +00:00
Mitchell Livingston
2021706c6e remove an unneeded static variable 2009-11-27 18:13:36 +00:00
Mitchell Livingston
8214c797c6 trivial cleanup in the logging code 2009-11-27 17:55:09 +00:00
Charles Kerr
8e7d08fc83 (trunk libT) remove unnecessary calls to tr_msgInit(). Suggested by BentMyWookie. 2009-11-27 15:32:11 +00:00
Charles Kerr
c7f061cafc (trunk libT) make tr_msgLoggingIsActive() an inlined function. suggested by BentMyWookie 2009-11-27 15:25:14 +00:00
Charles Kerr
864ae61a70 (trunk libT) tweak the debugging message for the atom manager 2009-11-27 14:27:44 +00:00
Charles Kerr
fc0a8b7c93 (trunk) #2614: "incorrect memory usage when not using IPv6" -- accepted dht.c + tr-dht.c patches 2009-11-27 14:18:32 +00:00
Charles Kerr
47c6ec5efa (trunk libT) #2551: "when uploading to peers, prefetch local data from disk" -- fix peer-msgs.c NULL pointer dereference introduced in r9514 for this ticket. Reported by Waldorf 2009-11-27 03:21:21 +00:00
Charles Kerr
d7d5bb6db7 (trunk libT) #2610 "avoid unnecessary calls to time(NULL)" -- fix new assertion error reported by John Clay and tstevens 2009-11-27 02:24:48 +00:00
Charles Kerr
e1c6b792aa (trunk libT) #2610 "avoid unnecessary calls to time(NULL)" 2009-11-26 18:47:08 +00:00
Charles Kerr
d096b39f4b (trunk libT) #2430 "peer atom pool grows too large" -- tweak the default atom shelf lives based on discussion in the ticket's comments section 2009-11-26 18:38:37 +00:00
Charles Kerr
cebcc3b6ef (trunk libT) #2096 "magnet links" -- add a callback for clients to know when a magnet torrent's metainfo is finished downloading. 2009-11-26 17:58:44 +00:00
Charles Kerr
931afc7d2a (trunk libT) fix variable name oops 2009-11-26 16:53:45 +00:00
Charles Kerr
909d2183be (trunk libT) fix size_t-to-int compiler warning 2009-11-26 06:16:08 +00:00
Charles Kerr
1101f6710e (trunk libT) #2430 "Peer atom pool grows too large" -- add an atom expiration system along the lines of the suggestions in this ticket's comments. jch and KyleK, let me know if you think anything in this commit needs improvement. 2009-11-26 05:13:58 +00:00
Charles Kerr
cf69b11031 (trunk libT) #2595: "file too large error?" -- this can generate an EFBIG warning sparse preallocation is on and the peer makes an invalid request. At worst this kind of oddball case should generate a debug message notice, not a torrent error. Reported by Waldorf. 2009-11-25 19:26:30 +00:00
Charles Kerr
04011d212b (trunk libT) #2110: "allow adding torrents with no trackers" -- fix crash in tr_torrentSetAnnounceList() when the new number of trackers is 0. Reported by Rolcol. 2009-11-25 18:57:54 +00:00
Charles Kerr
f585379bed (trunk libT) silence implicit size_t-to-int compiler warning 2009-11-25 17:21:11 +00:00
Charles Kerr
197cf649bf (trunk) more magnet work. fix a couple of bugs reported by rolcol: (1) crash with incomplete dir + magnet links; (2) dialog focus issue in the gtk client 2009-11-25 08:22:57 +00:00
Charles Kerr
4df666bb22 (trunk libT) #2110: "allow adding torrent files with no trackers" -- tr_torrentParse() shouldn't fail just because there aren't any announce URLs in the metadata 2009-11-25 05:13:58 +00:00
Charles Kerr
5e51618f83 (trunk libT) fix the resume files' "percent done" bug that was introduced yesterday with the magnet link commit 2009-11-25 05:10:27 +00:00
Mitchell Livingston
358160f7ae tr_cpPercentComplete() considers cases where size is 0 2009-11-25 05:01:51 +00:00
Charles Kerr
018e4b1330 (trunk libT) fix minor trunk-only memory leak of the tr_session::incompleteDir string 2009-11-25 04:44:12 +00:00
Charles Kerr
3799fa2ec7 (trunk libT) more work on magnet links. 2009-11-25 04:12:55 +00:00
Charles Kerr
78a2d66e15 (trunk libT) fix magnet code memory leak 2009-11-24 19:45:36 +00:00
Charles Kerr
034023f148 (trunk libT) fix another edge case for magnet links 2009-11-24 19:08:13 +00:00
Charles Kerr
c0fa9c5e9d (trunk libT) fix bitset crash. add bitset.h to the automake file. 2009-11-24 18:22:57 +00:00
Charles Kerr
c102f199c3 (trunk libT) don't allow duplicate torrents to be added via magnet links 2009-11-24 17:31:20 +00:00
Charles Kerr
3610c5ea62 (trunk) more magnet fixes 2009-11-24 17:10:40 +00:00
Charles Kerr
d98666e740 (trunk libT) simple fix from jch 2009-11-24 15:55:21 +00:00
Charles Kerr
d5ae900e4e (trunk) #2096 "magnet links": in libT, cleanup. in GTK+ client, add different status text in the main window for magnet torrents: "downloading .torrent data" 2009-11-24 15:51:16 +00:00
Charles Kerr
8ea0aa2845 (trunk libT) oops 2009-11-24 03:37:54 +00:00