Commit Graph

2536 Commits

Author SHA1 Message Date
Arvid Norberg ea578a6acf adds ut_pex, ut_metadata and smart_ban by default in session constructor. Also starts upnp and nat-pmp by default. Fixes #399 2008-09-21 23:19:58 +00:00
Arvid Norberg 13b343c1af added assertions that the stats is updated properly when receiving and sending bytes on peer_connections 2008-09-21 17:12:26 +00:00
Arvid Norberg 8ffc345308 fixed crash when add_torrent was fed with invalid resume data 2008-09-21 02:08:04 +00:00
Arvid Norberg 0338510b9b added more bandwidth monitoring of DHT and TCP/IP overhead. added monitoring of the running DHT lookups 2008-09-20 17:42:25 +00:00
Arvid Norberg 98f9d5826c fixed busted is_any check for 'ipv6' key in extended handshake 2008-09-20 16:21:16 +00:00
Arvid Norberg e46f2396cf fixes bencode type check on tracker responses. Might fix #398 2008-09-20 15:25:46 +00:00
Arvid Norberg 97f107a7fd fixed bug in verify_fast_resume. Fixes #397 2008-09-20 06:02:40 +00:00
Arvid Norberg f3d542fb2c fixed inconsistent upload_only and seed in some cases when running a metadata-less torrent 2008-09-19 23:02:45 +00:00
Arvid Norberg 064d93b935 optimization for files with prioritiy 0 2008-09-19 19:46:04 +00:00
Arvid Norberg 67f1242836 added mutex to udp_socket and posts the callback instead of calling it directly 2008-09-19 17:31:16 +00:00
Arvid Norberg 656ff6d5f2 fixed piece_picker to not pick blocks from a piece with priority 0 when there already are requests to the piece 2008-09-19 17:07:19 +00:00
Arvid Norberg eb89269b6a update_interest fix for torrents without metadata 2008-09-19 07:14:24 +00:00
Arvid Norberg fbec4261cd fixed assert in piece_picker 2008-09-19 06:46:58 +00:00
Arvid Norberg e85cb90652 fixed assert in peer_connection 2008-09-19 02:37:05 +00:00
Arvid Norberg e7df553fdd fixed race condition when calling a function that re-evaluates the interested flags on peers (such as prioritize files) right after the metadata is received, but before the connections are initialized 2008-09-18 20:17:49 +00:00
Arvid Norberg f14e76a3f9 fixed typo in previous iterator fix 2008-09-18 17:53:44 +00:00
Arvid Norberg cd1301b1c9 fix for invalid iterators when changing piece priorities causes peers to disconnect 2008-09-17 23:14:59 +00:00
Arvid Norberg d8cc89fd13 updated docs 2008-09-17 15:25:12 +00:00
Arvid Norberg 26dea3c222 fixed stats miscount when deleting files 2008-09-17 02:29:05 +00:00
Arvid Norberg 6b2ee1ba28 when using safe iterators, test_pe_crypto would fail because it would be too slow 2008-09-16 23:33:34 +00:00
Arvid Norberg a533bf817c properly reports disk io errors when hashing pieces. made the partial_hash.log easier to enable/disable 2008-09-16 23:32:27 +00:00
Arvid Norberg a62ce3bc1a made routing table support safe iterators on gcc 2008-09-16 17:21:24 +00:00
Arvid Norberg 53c408212d nicer fix for debug iterators 2008-09-15 16:21:03 +00:00
Arvid Norberg 5c5a836398 enabled debug iterators for test 2008-09-15 15:09:20 +00:00
Arvid Norberg 88a7e445ad fixed decrement of start-of-sequence iterator in invariant_check code. Fixes debug-iterator assert 2008-09-15 15:07:46 +00:00
Arvid Norberg 658eef82a5 get rid of msvc warning 2008-09-15 13:58:38 +00:00
Arvid Norberg 166f761df3 fixed DHT bug where requests that timed out would be treated as transaction_id overflows and would slow down DHT lookups considerably. 2008-09-15 05:05:26 +00:00
Andrew Resch 027952f69d Add create_ut_metadata_plugin() to bindings 2008-09-14 18:34:58 +00:00
Andrew Resch ba60d4818b Register to_python converter for shared_ptr<entry> 2008-09-14 18:34:08 +00:00
Arvid Norberg c087c363be removed left over from debugging 2008-09-09 19:47:31 +00:00
Andrew Resch e46d4768ee Add magnet_uri to the python bindings 2008-09-09 14:03:35 +00:00
Arvid Norberg 3077fdcb6a fix crash when tracker connections fails in the constructor (used to be the case for scrape when there were no url transform from announce to scrape) 2008-09-07 10:03:59 +00:00
Arvid Norberg a61c1ee01d more disconnect handling for upload-only 2008-09-07 10:00:58 +00:00
Arvid Norberg e8a0ace739 added a key to scrape the tracker for a torrent in client_test 2008-09-07 09:59:54 +00:00
Arvid Norberg fddd1ee8e2 fixed assert when connecting to upload-only peers 2008-09-07 01:01:25 +00:00
Arvid Norberg cc67830faf support max_upload_slots of 0. #395 2008-09-06 21:16:04 +00:00
Arvid Norberg 435bc9af71 removed invalid assert 2008-09-06 21:09:01 +00:00
Arvid Norberg 41808f8742 big change to improve piece picker. Better end-game mode. More options on which pieces to pick. 2008-09-06 21:04:57 +00:00
Arvid Norberg 7f143791d5 added get_storage_impl() to torrent_handle 2008-09-04 16:20:19 +00:00
Arvid Norberg c7c0974d3f fixed bugs in verbose logging 2008-09-04 14:39:02 +00:00
Arvid Norberg e4e0d3f062 fixed storage_interface document typo 2008-09-04 11:21:01 +00:00
Arvid Norberg 5a3995aad3 fixed documentation regarding storage_interface 2008-09-04 11:09:39 +00:00
Arvid Norberg c152a88512 fixed linux build when linking against openssl (adds libdl.so) 2008-09-03 00:55:49 +00:00
roman_rybalko f9f7b689a3 automake build system fix: make dist always creates same dist regardless of configure parameters, test/Makefile.am made more clear 2008-09-02 11:14:10 +00:00
Arvid Norberg c88071ae10 fixed race when adding router nodes to the dht (router nodes should be added before it's started) 2008-09-02 06:37:40 +00:00
Arvid Norberg 0074b10b88 fix optimistic unchoke when there is no metadata 2008-09-02 05:54:05 +00:00
Arvid Norberg d179280da2 fixed off-by-one error when receiving a piece which skipped a bunch of requests 2008-09-01 17:41:13 +00:00
roman_rybalko 23eaf6ae25 autotools separate dir build fix 2008-09-01 09:22:01 +00:00
Arvid Norberg 37147f99c0 fixes bug in kademlia implementation when nodes are unreachable 2008-08-29 23:00:57 +00:00
Arvid Norberg aedc92cb24 fix to announce with DHT for torrents without metadata 2008-08-29 22:58:47 +00:00