Commit Graph

8238 Commits

Author SHA1 Message Date
arvidn ba95aa27d6 cleanup unused code 2015-08-29 16:07:19 -04:00
arvidn 0f760d3fb4 expand tracker unit test to assert the session correctly receives the right peers 2015-08-29 16:04:35 -04:00
arvidn 5757b0ad13 polish some behavior when setting piece and file priorities for torrents with no metadata. Fix the initialization order of peers once we do get the metadata 2015-08-29 10:21:15 -04:00
Thomas Yuan a4aa2f9e4b After PR #70, mget will get multi alerts. 2015-08-28 12:33:06 -04:00
arvidn beb5455331 add disk I/O read asserts and fix i2p issue if a tracker responds with i2p peers when i2p is not configured on the client 2015-08-28 07:20:21 -04:00
Thomas Yuan 2685674eb9 Fix dht_put. 2015-08-27 23:45:29 -04:00
arvidn 6012306557 add more asserts for the size of the bitfields peers send 2015-08-27 21:48:52 -04:00
arvidn cc29a99c90 (merge commit from Andrew Starr-Bochicchio <asb@debian.org>) Running setup.py without LDFLAGS or explicitly passing includes will attempt to use bjam. This causes "python setup.py clean -a" to fail when building the package. 2015-08-27 06:52:13 -04:00
Arvid Norberg bd5793807c Merge pull request #115 from aldenml/siocgifmtu-definition
The constant siocgifmtu is used in the context of all these macros.
2015-08-26 18:07:27 -04:00
Arvid Norberg d2e2703680 Merge pull request #113 from thomas-yuan/dht_direct
Remove unnecessary selection statements.
2015-08-26 18:00:42 -04:00
Alden Torres 88b1063f13 The constant siocgifmtu is used in the context of all these macros. 2015-08-26 17:46:54 -04:00
Thomas Yuan b26d08c66a Remove unnecessary selection statements. 2015-08-26 11:26:21 -04:00
arvidn d1768b9c4c extend settings_pack unit test 2015-08-24 18:48:43 +02:00
arvidn 666b6dc788 split out some more tests from test_primitives 2015-08-24 17:40:29 +02:00
Steven Siloti 4b702701b2 exclude obsolete compatibility code on msvc-14 and later 2015-08-24 07:28:16 +02:00
arvidn 82a3683f7d polish removal of web seeds logic 2015-08-23 11:01:55 +02:00
arvidn be2b1d3991 split the dht test into a few parts (still need more splitting) 2015-08-23 09:23:51 +02:00
Arvid Norberg c5c590d256 Merge pull request #109 from aldenml/remove-double-call-extract_node_id
Removed unnecessary call to node_id copy constructor.
2015-08-23 00:17:49 +02:00
Alden Torres 5be9dfb6db Removed unnecessary call to node_id copy constructor. 2015-08-22 16:01:53 -04:00
arvidn e7b8b6da49 forward port DHT routing table fix from RC_1_0 2015-08-22 15:51:28 +02:00
Arvid Norberg 746cd4c1a6 Merge pull request #96 from thomas-yuan/master
Parsing message correctly when message type is error.
2015-08-22 10:42:01 +02:00
Arvid Norberg 715ed1b11d Merge pull request #101 from arvidn/remove-utp-nic-mtu
remove functionality to initiate MTU based on the MTU on the nic
2015-08-22 10:40:17 +02:00
arvidn 7f24fb41ef fix test_metadata_extension 2015-08-22 08:09:09 +02:00
arvidn d43af6e3b7 remove functionality to initiate MTU based on the MTU on the nic (this is error prone and has questionable value) 2015-08-22 08:09:09 +02:00
arvidn 3018546b37 fix warning 2015-08-22 01:22:04 +02:00
arvidn a42f9e0c63 fix more warnings 2015-08-22 00:28:12 +02:00
arvidn 42fdd0f896 fix some more warnings 2015-08-21 22:56:57 +02:00
arvidn 4873004df7 warnings as errors 2015-08-21 14:52:07 +02:00
arvidn d8065b8941 fix some warnings 2015-08-21 14:03:16 +02:00
arvidn 26b721973f fix typo 2015-08-21 10:43:14 +02:00
arvidn b7b0dafcca fix some warnings 2015-08-21 10:05:51 +02:00
arvidn 589888fd9f specify c99 or c11 for C files 2015-08-21 10:01:01 +02:00
arvidn 466c8c59a0 actually enable warnings on travis and fix command line warnings 2015-08-21 00:26:11 +02:00
arvidn 5bad1f82c1 enable warnings on travis 2015-08-20 22:28:46 +02:00
arvidn 904da120d7 fixed some warnings 2015-08-20 22:28:00 +02:00
arvidn b8ddec1c37 appveyor, disable 64 bit builds for now (need to fix openssl linking) 2015-08-20 22:20:38 +02:00
arvidn 7d2d9dd9c1 don't destruct sessions in global destructors 2015-08-20 22:11:04 +02:00
arvidn fa450b4bf7 attempt to fix invalid vector subscript bug in piece_picker 2015-08-20 21:37:22 +02:00
Arvid Norberg ef47b5f33f Merge pull request #105 from aldenml/torrent-alert-constructor
Recoded torrent_alert constructor logic to build the name.
2015-08-20 21:36:30 +02:00
arvidn 40a67ecbc8 fix unknown pragma warning on msvc 2015-08-20 21:14:39 +02:00
arvidn 206e4b7c71 attempt to fix msvc 64 bit build 2015-08-20 20:56:52 +02:00
Alden Torres 203605bd3a Recoded torrent_alert constructor logic to build the name.
Fixed compilation issue in Mac OS X.
2015-08-20 13:57:03 -04:00
arvidn 9ce1d64839 build 64 bit versions on appveyor as well 2015-08-20 10:53:56 +02:00
Arvid Norberg fa5b8b7140 Merge pull request #99 from arvidn/appveyor-upgrade
appveyor upgrade
2015-08-20 09:33:56 +02:00
Arvid Norberg e59db1758b Merge pull request #100 from arvidn/travis-update
build fewer combinations but include c++98 as one test
2015-08-20 09:32:53 +02:00
Thomas dbfc2fd5ea Parsing message correctly when message type is error.
Also, an error response should call reply() of observer, instead of timeout().

Reference: http://www.libtorrent.org/dht_store.html#errors
2015-08-19 22:20:48 -04:00
arvidn 0de5cf8adc attempt to fix windows build 2015-08-20 02:22:03 +02:00
arvidn 7cdc5a25ba attempt to use newer visual studio version (and older) 2015-08-20 02:22:03 +02:00
arvidn f39755a863 remove c++14-compat option 2015-08-20 02:14:56 +02:00
arvidn 0ce2227727 build fewer combinations but include c++98 as one test 2015-08-20 02:10:14 +02:00