1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00
Commit graph

120 commits

Author SHA1 Message Date
Eric Petit
ba5bb320ca Bencoded dictionaries are now sorted alphabetically, this should fix
compatibility with some clients, incl. BitTornado-based ones.
(Reported by roee88 from LH-ABC)
2007-06-10 15:38:58 +00:00
Josh Elsasser
a3ca76cced Don't bencode signed integers as unsigned. 2007-05-09 07:00:08 +00:00
Josh Elsasser
6f1c25a22e Don't use uninitialized variables. 2007-04-18 16:41:37 +00:00
Josh Elsasser
bb6f766112 Escape nonprintable characters in TYPE_STR values in tr_bencPrint output. 2007-04-15 06:21:12 +00:00
Josh Elsasser
7d67c4b457 Fix benc list allocations for like the fourth time.
Hopefully this time it actually works.
2007-04-03 00:51:22 +00:00
Josh Elsasser
574902b461 Fix benc list/dict allocation. 2007-04-02 21:19:53 +00:00
Josh Elsasser
ebcc73121b Remove tr_bencListIter(), it was a stupid idea. 2007-03-31 17:40:28 +00:00
Josh Elsasser
978b5cec11 Add iterator function for bencoded lists. 2007-03-30 00:12:39 +00:00
Josh Elsasser
0c1c57a62a Eliminate an error-prone varargs function. 2007-03-29 21:02:59 +00:00
Josh Elsasser
09c87aad84 Merge PEX branch, I hope this works. 2007-03-23 08:28:01 +00:00
Josh Elsasser
41a81769e3 Better checking of metainfo.
Strip / out of filenames and path components.
Safely handle . and .. in file paths.
2007-03-05 00:07:48 +00:00
Josh Elsasser
6ebeef7924 Correctly bencode strings containing nul characters. 2007-01-28 23:26:57 +00:00
Josh Elsasser
0257761670 Merge nat-traversal branch to trunk. 2006-09-25 18:37:45 +00:00
Eric Petit
f199e0a9d9 Revert [619] 2006-07-16 19:39:23 +00:00
Mitchell Livingston
5d36721a15 Remove old Sparkle... 2006-07-16 19:28:19 +00:00
Josh Elsasser
a2962c4a71 Don't leak memory when bencode parsing fails. 2006-07-07 16:21:30 +00:00
Eric Petit
f98fe6a1b0 Added $Id$ keywords and updated a few headers 2006-05-29 21:21:23 +00:00
Eric Petit
1ec413ea5c Fixes warnings 2006-04-26 10:59:09 +00:00
Josh Elsasser
9120989a88 Make sure not to go past the end of the buffer when loading bencoded data.
Add code to encode using bencoding.
2006-04-25 07:00:18 +00:00
Eric Petit
a6aa884776 Import from 2005-10-26 2006-01-12 17:43:21 +00:00