Adrien Béraud
6d0fcba3b5
thread pool: add Executor
2019-04-30 17:47:40 -04:00
Adrien Béraud
6c5ea125ca
peerdiscovery: add automatic template serialization
2019-04-26 02:29:49 -04:00
Adrien Béraud
6a5724a868
peerdiscovery: allow per-domain publish, cleanup
2019-04-23 12:09:08 -04:00
MingruiZhangW
f65e8c1a1f
Merge branch 'master' into peer_discovery_version_2
2019-04-22 09:13:17 -04:00
Adrien Béraud
c2fdf6ae92
dhtnode: show grouped get results, improve duration display
2019-04-21 21:39:54 -04:00
Adrien Béraud
91a81f64ac
thread pool: make public
2019-04-21 21:39:54 -04:00
Adrien Béraud
84a2d771c1
dht: add some missing override
2019-04-20 22:07:48 -04:00
Mingrui Zhang
0f3396cd66
peerdiscovery: make nested classes to hide ip versions
2019-04-18 12:20:17 -04:00
Mingrui Zhang
092cb9551e
peerdiscovery: add testpack into tester to verify the possibility of sending & receiving 2 packages simultaneously (including stop functions)
2019-04-18 09:33:15 -04:00
Mingrui Zhang
a2bbca792c
peerdiscovery: add dmtx_ to distinguish send & listen shared resources, add stopDiscovery, stoplisten to stop listen or discover certain type of service
2019-04-17 10:26:49 -04:00
Adrien Béraud
5ec72e213e
dht: add override
2019-04-17 10:00:15 -04:00
Mingrui Zhang
0f51115f44
peerdiscovery: modify maps to handle more services in one instance
2019-04-16 15:11:07 -04:00
Mingrui Zhang
18aa6ddb7b
peerdiscovery: modify function signatures to make service consistent
2019-04-15 18:24:15 -04:00
Mingrui Zhang
763ffddf51
peerdiscovery: modify to add support for sending and receiving msgpack
2019-04-15 16:50:48 -04:00
Adrien Béraud
ef82652a1e
network: header cleanup
2019-04-14 11:30:10 -04:00
Adrien Béraud
5257ac314f
add API to retrieve version string
2019-04-14 00:19:01 -04:00
Adrien Béraud
af940c63b1
proxy: mute unused variable warning if disabled
2019-04-13 23:02:57 -04:00
Adrien Béraud
15da502354
dhtrunner: make peer discovery port static constexpr
2019-04-13 22:56:31 -04:00
Adrien Béraud
b7a9a52f97
network engine: DhtProtocolException cleanup
2019-04-13 22:56:31 -04:00
Adrien Béraud
453db29058
dht: add override to getNodeId
2019-04-13 20:43:57 -04:00
Adrien Béraud
7fe321e4fc
peerdiscovery: cleanup data serialization
2019-04-09 14:57:48 -04:00
Adrien Béraud
01d8e513a1
peerdiscovery: cleanup
2019-04-08 11:34:52 -04:00
Mingrui Zhang
4240820463
peerdiscovery: add multicast node discovery mechanism
2019-04-08 11:32:08 -04:00
Adrien Béraud
7ebbf17f37
InfoHash: use static size
2019-04-05 11:21:23 -04:00
Adrien Béraud
6821e5bd96
dhtrunner: default to null function instead of AllFilter
2019-04-05 10:49:40 -04:00
Adrien Béraud
e86d717e81
dht: make getPut() const
2019-04-05 10:49:35 -04:00
Adrien Béraud
c647b19e91
infohash: make some methods constexpr, noexcept
2019-04-03 14:52:35 -04:00
Adrien Béraud
9b881d4e95
crypto: add initial certificate request support
2019-03-29 13:13:29 -04:00
Adrien Béraud
4401e47002
cleanup, fix clang-tidy warnings
2019-03-17 17:43:52 -04:00
Adrien Béraud
71599da8ea
value: add "not" method
2019-03-16 14:27:23 -04:00
Adrien Béraud
f418b3651f
update copyright date
2019-03-16 12:37:23 -04:00
Adrien Béraud
57ea09808e
value: fix chain null check
2019-03-10 16:39:31 -04:00
Adrien Béraud
fec5a6ede7
make move operators noexcept
2019-03-10 16:39:16 -04:00
Adrien Béraud
04850e1701
dht: add configuration to persist state
2019-03-10 16:39:16 -04:00
Adrien Béraud
a30f1b8032
dht: make exportNodes const
2019-03-10 16:39:16 -04:00
Adrien Béraud
1c74c2207f
proxy server: cache json StreamBuilder
2019-02-19 18:43:14 -05:00
Adrien Béraud
55f6c847b8
build: use define flags for proxy
2019-02-19 18:43:14 -05:00
Adrien Béraud
00cc4ebe28
proxy server: send push notification on thread pool
2019-02-19 18:43:14 -05:00
Adrien Béraud
aa93db4fa6
proxy server: move json to sendPushNotification
2019-02-19 18:43:14 -05:00
Adrien Béraud
989f32eb56
filter: cleanup and optimize
2019-02-19 01:59:59 -05:00
Adrien Béraud
a1f8cc906c
proxy client: use SyncCallback
2019-02-19 01:59:59 -05:00
Sébastien Blin
75a14d3608
proxy: only get old values at first subscribe
2019-01-18 22:53:24 -08:00
Sébastien Blin
3a3933e6d5
dhtproxy: remove sendSubscribe
2019-01-14 10:53:08 -08:00
Sébastien Blin
70f09ded3f
dhtproxy: avoid notification after subscribe to retrieve values
2019-01-14 10:53:08 -08:00
Sébastien Blin
36cf70f2a7
proxy: remove useless token for push listeners
...
Since we authentificate listeners with the clientId and the hash and
we use only one listener by hash/clientId, we doesn't need to store
a token always equals to 0.
Note: also avoid to get multiple hashes for one push notification.
2018-12-30 13:35:18 -05:00
Adrien Béraud
c0e376e15a
dht: reduce log verbosity
2018-12-28 01:41:10 -05:00
Adrien Béraud
7f0a5dfda3
dht: increase max number of searches and hashes
2018-12-26 10:28:55 -05:00
Adrien Béraud
6d7f8004bf
connectivity change: reset routing table instead of searches
2018-12-26 10:28:30 -05:00
Adrien Béraud
3b26684a87
network engine: add default values for sendFindNodes
2018-12-19 14:07:55 -05:00
Adrien Béraud
7dda5a3d5a
proxy client: schedule listener restart
2018-12-18 10:10:14 -05:00