arvidn
d2819cd1b9
fix uninitialized variable in test_pe_crypto simulation
2015-08-12 20:18:47 -04:00
arvidn
243b31b56b
trouble shoot segfault on travis
2015-08-12 18:54:57 -04:00
Arvid Norberg
b703a8fb89
Merge pull request #82 from AlexandruCostache/master
...
Added missing dependencies to fix examples build
2015-08-12 08:07:07 -04:00
Alexandru Costache
34aa1a0ab7
Added missing dependencies to fix examples build
...
Main examples like simple_client failed to build as they
were not linked against boost chrono and boost random libraries
2015-08-12 11:36:29 +03:00
Arvid Norberg
ca793121e0
Merge pull request #81 from aldenml/no-full-namespace-udp-endpoint
...
Removed unnecessary full namespace reference to udp::endpoint in new dht_direct_request feature.
2015-08-12 01:15:53 -04:00
Alden Torres
b303a36ac2
Removed unnecessary full namespace reference to udp::endpoint in new dht_direct_request feature.
...
Add default value to userdata argument in dht_direct_request.
Minor spelling fix.
2015-08-12 00:49:09 -04:00
Arvid Norberg
1a25448b64
Merge pull request #80 from aldenml/port-mapping-log-notification
...
Created a new port_mapping_log_notification alert category
2015-08-12 00:25:39 -04:00
Alden Torres
2457b16d09
Documented that portmap_log_alert is only posted if port_mapping_log_notification is enabled.
2015-08-12 00:10:32 -04:00
Alden Torres
1805c96f44
Created a new port_mapping_log_notification alert category to separate portmap_log_alert.
2015-08-12 00:07:08 -04:00
Arvid Norberg
36cf20b19f
Merge pull request #69 from ssiloti/direct-dht-req
...
Direct dht reqests
2015-08-11 23:32:25 -04:00
Steven Siloti
1b4b1c4403
fix error handling for DHT direct requests
2015-08-10 20:33:05 -07:00
Steven Siloti
135f4761e1
add more comments about DHT direct requests
2015-08-10 20:33:04 -07:00
Steven Siloti
8e00172af7
return a bdecode_node rather than taking one by reference
2015-08-10 20:33:04 -07:00
Steven Siloti
1ff48aef60
add comment
2015-08-10 20:33:04 -07:00
Steven Siloti
43dc784cf2
add direct_request.hpp to Makefile.am
2015-08-10 20:33:04 -07:00
Steven Siloti
3564562dab
pass raw buffer in dht_direct_response_alert
2015-08-10 20:33:04 -07:00
Steven Siloti
182c30f2d6
fix typo in class name
2015-08-10 20:33:04 -07:00
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