Commit Graph

7927 Commits

Author SHA1 Message Date
Steven Siloti 86fd8c3048 enable arbitrary direct dht requests and extension dht requests
If you're wondering why I used an alert for handling responses but not requests,
it's because the former was easy to do that way but the latter would have
involved some major refactoring or kludging. The DHT node is written with the
(IMO reasonable) assumption that all responses will be generated immediately, so
there was no way to easily accommodate getting a response asynchronously via
an alert.
2015-08-10 20:33:04 -07:00
Steven Siloti a29e64965c add some basic operators to peer_connection_handle 2015-08-10 20:33:04 -07:00
Arvid Norberg 0dd4ff4f3c Merge pull request #78 from ssiloti/test_dht-fix
Test dht fix
2015-08-10 23:25:16 -04:00
Steven Siloti 2d9cf0f8b3 use test_name rather than __LINE__ for hidden test structs
When building tests from mutliple files together, the line number the test is
declared on is not guaranteed to be unique. If two tests happen to be on the
same line, one of them will not be run. You will then go crazy trying to figure
out why seemingly unrelated changes make the problem go away.
2015-08-10 20:05:16 -07:00
Steven Siloti 29ba738876 fix_dht mutable get test 2015-08-10 20:05:04 -07:00
arvidn a81ca2391b fix some warnings 2015-08-10 20:03:24 -04:00
arvidn 12136563c4 use boost-build --hash instead of abbreviate paths on travis and appveyor, to never make the filenames overflow the filesystem limit 2015-08-10 10:21:44 -04:00
arvidn 874bfcc89e transitioned test_super_seeding to a simulation (and remove the live test for test_swarm, which already has been transitioned to a simulation) 2015-08-10 10:18:36 -04:00
arvidn f2455c8689 made test_metadata_extension a bit more reliable 2015-08-10 10:02:01 -04:00
arvidn a75699eff1 move test_metadata_extension to a simulation instead of a live test 2015-08-10 09:17:41 -04:00
arvidn a3dbbd6a37 transition the test_pe_crypto system tests to be simulation 2015-08-10 06:57:51 -04:00
arvidn e557e63d05 scale down the dht simulation, to try to make it pass travis and appveyor time limits 2015-08-09 22:07:27 -04:00
arvidn 663dc5030d fix typo in appveyor.yml 2015-08-09 21:50:06 -04:00
arvidn c99ad7b962 fix python binding Jamfile to detect BOOST_ROOT environment variable too 2015-08-09 21:23:11 -04:00
arvidn e38f461197 disable another flapping test on appveyor/windows 2015-08-09 18:23:01 -04:00
arvidn b9b17ca3bf pull the submodules on appveyor 2015-08-09 18:10:39 -04:00
arvidn 0103e23084 run simulations on appveyor too 2015-08-09 17:58:57 -04:00
arvidn d977f2e68f attempt to make appveyor happy 2015-08-09 17:54:10 -04:00
arvidn 4fa0aa62da simulate IP routes, interfaces and page size when building in simulation mode 2015-08-09 15:01:01 -04:00
arvidn 6068418def fix and re-enable simulations 2015-08-09 00:56:37 -04:00
arvidn 912243833e fix shared linking of simulations 2015-08-08 23:04:49 -04:00
arvidn 1c1698459c fix warnings 2015-08-08 22:53:11 -04:00
Arvid Norberg 27c5a28637 Merge pull request #70 from thomas-yuan/master
Call callback function immediately when get data for mutable data.
2015-08-08 21:51:18 -04:00
arvidn 19be031921 disable simulations for now 2015-08-08 21:49:26 -04:00
arvidn 8ea2c0fa48 update libsimulator 2015-08-08 20:41:34 -04:00
Thomas e51b61870a Call callback function immediately when get mutable data. 2015-08-08 20:28:53 -04:00
arvidn 6cb8b0eeaa update libsimulator 2015-08-08 20:08:45 -04:00
arvidn 3f0a9c6f4d update libsimulator version 2015-08-08 19:31:20 -04:00
arvidn 4b04aceccd fix boost-link semantics. If it's not specified, it's the default: whatever link is set to 2015-08-08 19:30:01 -04:00
arvidn a854fed12b simplify Jamfile by determining whether to use boost from source or from system installed version based on the BOOST_ROOT environment variable. This removes the build feature boost=source/boost=system 2015-08-08 19:18:05 -04:00
arvidn 3963d47385 fix shared linking against libtorrent_test 2015-08-08 18:13:43 -04:00
arvidn 72286eb0dc minor asio.ssl abstraction cleanup. update libsimulator with build fix. only run simulator on one of the build variants on travis, since the simulator does not support ssl 2015-08-08 16:19:44 -04:00
arvidn 97d46997c9 give up on clang + libc++ and instead downgrade gcc to 4.8 2015-08-08 14:59:02 -04:00
Arvid Norberg 5fa5e6b078 Merge pull request #75 from davispuh/patch-1
Remove extra `\` in test/Makefile.am
2015-08-08 13:16:56 -04:00
arvidn 3594da7839 on travis, use libc++ together with clang. Update libsimulator to fix gcc build 2015-08-08 13:08:41 -04:00
Dāvis 24b7fd48a6 Remove extra `\` in test/Makefile.am 2015-08-08 16:51:29 +03:00
arvidn 2b0920f407 update libsimulator 2015-08-08 02:53:20 -04:00
arvidn 50925d7652 fix some more warnings 2015-08-08 02:48:01 -04:00
arvidn 4453592c09 CXX is not set for clang builds it seems 2015-08-08 02:34:31 -04:00
arvidn cd01d0c426 it was still bjam back in the 1.55 days 2015-08-08 02:19:47 -04:00
arvidn 28e73b293a maybe gcc5 is just on one of the main package sources 2015-08-08 02:16:40 -04:00
arvidn 0e350d4ff3 try separating the package sources 2015-08-08 02:12:52 -04:00
arvidn 2c37b9c514 another travis attempt 2015-08-08 02:07:38 -04:00
arvidn fa3f1e4d5f install boost build on travis 2015-08-08 02:03:36 -04:00
arvidn 387439cd4e another attempt at gcc-4.9 2015-08-08 02:01:30 -04:00
arvidn ce1d38704d another attempt to fix travis 2015-08-08 01:10:36 -04:00
arvidn 13173c034e attempt to fix travis build 2015-08-08 01:03:13 -04:00
arvidn fbc0f6776a attempt to update to gcc-4.8 and fix user-config.jam 2015-08-08 00:48:49 -04:00
arvidn ff51c044a1 specify c++11 in travis file 2015-08-08 00:08:17 -04:00
arvidn 290ba39d8d update libsmulator 2015-08-07 23:52:11 -04:00