Adrien Béraud
|
0692bd9bc9
|
proxy server: fix warning when building without push notifications
|
2019-04-30 17:47:40 -04:00 |
|
Adrien Béraud
|
7f48c4808b
|
network engine: minor cleanup
|
2019-04-30 17:47:40 -04:00 |
|
Adrien Béraud
|
6d0fcba3b5
|
thread pool: add Executor
|
2019-04-30 17:47:40 -04:00 |
|
Adrien Béraud
|
76e2efb19b
|
peerdiscovery: undef write macro after use
|
2019-04-26 11:50:25 -04:00 |
|
Adrien Béraud
|
bbe1b9233f
|
dhtrunner: use recv instead of recvfrom for stoppipe
|
2019-04-26 02:29:49 -04:00 |
|
Adrien Béraud
|
38141322f1
|
peerdiscovery: stop threads when stopping services
|
2019-04-26 02:29:49 -04:00 |
|
Adrien Béraud
|
6c5ea125ca
|
peerdiscovery: add automatic template serialization
|
2019-04-26 02:29:49 -04:00 |
|
Adrien Béraud
|
1b3a40f345
|
dhtrunner: clear stop file descriptor if still running
|
2019-04-25 22:12:28 -04:00 |
|
Adrien Béraud
|
38d854e6f4
|
dhtrunner: read correct size from buffer
|
2019-04-25 22:11:20 -04:00 |
|
Adrien Béraud
|
e0241ccfbd
|
dhtrunner: drop older packets in batch
|
2019-04-25 22:10:46 -04:00 |
|
Adrien Béraud
|
d4311925b4
|
dhtrunner: shutdown: return if not running
|
2019-04-25 21:38:52 -04:00 |
|
Adrien Béraud
|
85f2b618c7
|
logs: use ofstream for file logging
|
2019-04-25 14:31:06 -04:00 |
|
Adrien Béraud
|
6b78a4cad6
|
peerdiscovery: catch parsing errors
|
2019-04-25 10:25:36 -04:00 |
|
Adrien Béraud
|
66d3a8aeaa
|
dhtrunner: cleanup
|
2019-04-24 14:51:43 -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
|
91a81f64ac
|
thread pool: make public
|
2019-04-21 21:39:54 -04:00 |
|
Adrien Béraud
|
17b772e6cc
|
proxy client: close all sockets before joining
|
2019-04-20 22:38:36 -04:00 |
|
Adrien Béraud
|
75738ac28b
|
proxy client: don't hold lock while calling callback
|
2019-04-20 22:07:48 -04:00 |
|
Adrien Béraud
|
5881c91510
|
utils: include config.h
|
2019-04-19 20:24:01 -04:00 |
|
Andreas Traczyk
|
c737e4690e
|
update visual studio build
|
2019-04-19 15:53:42 -04:00 |
|
Adrien Béraud
|
35a9d1f612
|
proxy client: catch exception in Http::close()
|
2019-04-18 17:38:00 -04:00 |
|
Mingrui Zhang
|
0f3396cd66
|
peerdiscovery: make nested classes to hide ip versions
|
2019-04-18 12:20:17 -04:00 |
|
Mingrui Zhang
|
98cd6cc61e
|
peerdiscovery: fix memory leakage cased by sbuffer release
|
2019-04-18 10:20:00 -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 |
|
Mingrui Zhang
|
0f51115f44
|
peerdiscovery: modify maps to handle more services in one instance
|
2019-04-16 15:11:07 -04:00 |
|
Adrien Béraud
|
683a111726
|
autotools: build versioned shared library
|
2019-04-16 12:23:32 -04:00 |
|
Adrien Béraud
|
0fd4fed537
|
search: add fallback return
|
2019-04-16 12:23:32 -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
|
4f03a5c64e
|
network: tid, socket_id, value_id: default to 0
|
2019-04-14 09:15:16 -04:00 |
|
Adrien Béraud
|
5257ac314f
|
add API to retrieve version string
|
2019-04-14 00:19:01 -04:00 |
|
Yanfei Han
|
fd1f2cd0e4
|
add peer_discovery.o object into auto configure lib
|
2019-04-13 23:04:18 -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
|
6e10756e28
|
peerdiscovery: cleanup
|
2019-04-13 22:56:31 -04:00 |
|
Adrien Béraud
|
aad4ad03cf
|
network utils: add missing includes
|
2019-04-13 22:56:31 -04:00 |
|
Adrien Béraud
|
3d1e055c7b
|
peerdiscovery: always use local node id
|
2019-04-13 20:50:00 -04:00 |
|
Adrien Béraud
|
b02e9cfff7
|
peerdiscovery: flush stop socket if not stopping
|
2019-04-13 20:50:00 -04:00 |
|
Adrien Béraud
|
a238183031
|
peerdiscovery: don't assign IPv6 multicast interface
|
2019-04-09 16:11:21 -04:00 |
|
Adrien Béraud
|
73827cd34d
|
peerdiscovery: allow IPV6_MULTICAST_IF failure
|
2019-04-09 15:12:37 -04:00 |
|
Adrien Béraud
|
876190a392
|
peerdiscovery: SO_REUSEADDR, SO_REUSEPORT in different calls
|
2019-04-09 14:58:22 -04:00 |
|
Adrien Béraud
|
7fe321e4fc
|
peerdiscovery: cleanup data serialization
|
2019-04-09 14:57:48 -04:00 |
|
Adrien Béraud
|
7f7075ca9a
|
peerdiscovery: support IPV6_JOIN_GROUP
|
2019-04-09 12:31:23 -04:00 |
|
Adrien Béraud
|
26ad6de3a4
|
dhtrunner: avoid race condition when setting token
|
2019-04-08 15:57:25 -04:00 |
|
Adrien Béraud
|
ae91f8bd55
|
dhtrunner: default-initialize tokens
|
2019-04-08 15:36:24 -04:00 |
|
Adrien Béraud
|
671c55a01d
|
dhtrunner: print peer discovery error message to cerr
|
2019-04-08 14:36:15 -04:00 |
|
Adrien Béraud
|
60831ee898
|
peerdiscovery: avoid crashing if message can't be sent
|
2019-04-08 13:02:39 -04:00 |
|