Commit Graph

8075 Commits

Author SHA1 Message Date
arvidn e2f4cc131d remove one appveyor build configuration and simplify the script a bit 2015-09-11 22:05:58 -04:00
Arvid Norberg dc91e7f507 Merge pull request #154 from thomas-yuan/counter
Fix dht counters.
2015-09-11 21:45:39 -04:00
Thomas Yuan c0d20d7708 Fix dht counters. 2015-09-11 13:58:33 -04:00
Arvid Norberg 4fd56fd220 Merge pull request #145 from arvidn/super-seeding-fix2
fix super seeding assert (forward port from RC_1_0)
2015-09-10 20:13:14 -04:00
Arvid Norberg f847104252 Merge pull request #153 from thomas-yuan/bug_fix
Fix routing_table bucket_size(int bucket) out_of_range logic error.
2015-09-10 19:53:21 -04:00
Thomas Yuan bee620b4f1 Fix routing_table bucket_size(int bucket) out_of_range logic error. 2015-09-10 17:19:00 -04:00
Arvid Norberg 8b6b8240c1 Merge pull request #144 from thomas-yuan/master
load_state should restart dht/proxy if there is dht state/proxy.
2015-09-10 00:13:07 -04:00
Arvid Norberg 4b36900e8b Merge pull request #148 from thomas-yuan/invalid_node_id_test
Add unit test for invalid node-id. (shouldn't be added to routing table)
2015-09-10 00:12:13 -04:00
Arvid Norberg 7114648f33 Merge pull request #146 from arvidn/convert-from-native
correctly convert error messages from native to utf8
2015-09-10 00:09:37 -04:00
arvidn edc26cf90d update libsimulator 2015-09-10 00:08:39 -04:00
arvidn 9f4cfb6ac3 split up test_tracker unit tests 2015-09-09 23:54:43 -04:00
Thomas Yuan cfee70b350 unit test: a node with invalid node-id shouldn't be added to routing table. 2015-09-09 15:36:07 -04:00
Thomas Yuan a06a8fe19e load_state should restart dht/proxy if there is dht state/proxy. 2015-09-08 21:34:49 -04:00
Arvid Norberg abe994c191 Merge pull request #128 from thomas-yuan/patch2
Add read-only support in dht_settings and outgoing query messages.
2015-09-08 19:47:18 -04:00
arvidn a10438addd correctly convert error messages from native to utf8 2015-09-08 19:27:15 -04:00
arvidn c0a4f7ba26 fix super seeding assert (forward port from RC_1_0) 2015-09-08 18:17:13 -04:00
Thomas Yuan 60cedf881f Add block_timeout, block_ratelimit and read_only of dht_settings to python binding. 2015-09-08 11:03:27 -04:00
Thomas Yuan 4d6de4bcd8 save/load all dht_settings. 2015-09-08 11:03:27 -04:00
Thomas Yuan 94a2c3131f Add unit test for DHT read_only nodes. 2015-09-08 11:03:27 -04:00
Thomas Yuan d6bb387ab9 Use dht_settings directly instead of add a read_only member variable.
Since rpc_manager has a reference of dht_settings, needn't pass it
as a parameter for incoming().
2015-09-08 10:35:30 -04:00
Arvid Norberg b849222709 Merge pull request #142 from arvidn/move-headers
move some internal headers to aux_ to fix documentation
2015-09-07 22:45:42 -04:00
arvidn 26c70636f5 extend pull request checklist 2015-09-07 20:18:23 -04:00
arvidn 822d4c173b update README 2015-09-07 17:20:19 -04:00
arvidn ee3cb6cf86 move some internal headers to aux_ to fix documentation 2015-09-07 17:00:27 -04:00
Thomas Yuan 3d4ed9f37f Add read-only support in dht_settings and outgoing query messages. 2015-09-07 14:24:46 -04:00
Arvid Norberg 5c614be0ce Merge pull request #140 from arvidn/appveyor-fix
attempt to diagnose appveyor build error
2015-09-07 02:35:36 -04:00
arvidn 113e84e7f6 fix appveyor build 2015-09-07 02:34:14 -04:00
Arvid Norberg e50cf087ab Merge pull request #124 from arvidn/travis-build
attempt to fix travis OSX build
2015-09-06 22:57:13 -04:00
arvidn 05c580572d disable simulation on travis osx. fix more warnings 2015-09-06 22:55:42 -04:00
arvidn a2ea8b32db fix more warnings 2015-09-06 22:55:41 -04:00
arvidn 7437171f9a disable test_ssl on travis osx 2015-09-06 22:55:41 -04:00
arvidn 68abd7a44d move out test_alert_manager from the main test (as it actually sleeps). also add some debug logging to it 2015-09-06 22:55:41 -04:00
arvidn 17c5759829 disable warning for unused command line argument and fix warnings. remove redundant travis build config. use new preprocessor on clang to avoid warnings 2015-09-06 22:55:41 -04:00
arvidn b45c585a78 use gcc on linux and clang on osx 2015-09-06 22:55:41 -04:00
arvidn 379fd8ce81 fix simulation build 2015-09-06 22:52:25 -04:00
arvidn 9cb4e3d1ca forward-port supports_ipv6() fix for linux from RC_1_0 (and fix bug in it) 2015-09-06 20:53:06 -04:00
arvidn 179136c246 only build pushes for master and RC_1_0 2015-09-06 20:45:08 -04:00
arvidn 536a5f897a update queuing documentation and regenerate html 2015-09-06 18:14:06 -04:00
Arvid Norberg 8ece65c2e3 Merge pull request #135 from arvidn/xml_parse
fix const correctness in xml_parse()
2015-09-06 01:30:42 -04:00
arvidn cb65694578 fix const correctness in xml_parse(). update unit tests rss and upnp to use new signature for parser callback 2015-09-06 00:38:33 -04:00
Arvid Norberg 7e70c41646 Merge pull request #136 from arvidn/cleanup-listen-suceeded-alert
only post listen_succeeded_alert once all sockets have succeeded
2015-09-06 00:11:24 -04:00
arvidn 43ee75ce02 only post listen_succeeded_alert once all sockets have succeeded, since we may re-open previously successful ones if a later one fails 2015-09-05 22:14:04 -04:00
Arvid Norberg d7c6a3b3ea Merge pull request #130 from thomas-yuan/invalid_node_id
A node with an invalid node_id, shouldn't be added to routing table.
2015-09-05 13:30:40 -04:00
Thomas Yuan 97217a1fd6 A node with an invalid node_id, shouldn't be added to routing table. 2015-09-04 14:04:49 -04:00
arvidn a344c659e5 Revert "use handler allocator for UDP socket read handler"
This reverts commit 3ccb4f7dca.
2015-09-03 07:29:24 -04:00
arvidn 918aca9083 fix typo 2015-09-03 00:16:52 -04:00
Arvid Norberg 625ce111ce Merge pull request #131 from JoyStream/master
Fix makefile.am allocating_handler.hpp call.
2015-09-02 23:45:20 -04:00
randy-waterhouse 693586f23e Fix makefile.am allocating_handler.hpp call. 2015-09-03 08:48:59 +12:00
arvidn 89eaaa31b6 disable osx builds for now 2015-09-02 07:59:20 -04:00
arvidn 3ccb4f7dca use handler allocator for UDP socket read handler 2015-09-02 01:15:02 -04:00