Adrien Béraud
e8989f1f79
network engine: handle EPERM
1.7.3rc2
2018-05-24 16:07:16 -04:00
Adrien Béraud
b7218bd1c9
Merge pull request #299 from savoirfairelinux/tests
...
travis: run CI with ASAN
2018-05-24 15:46:56 -04:00
Adrien Béraud
43aab40968
travis: run CI with ASAN
2018-05-24 15:31:52 -04:00
Sébastien Blin
ed57b3bfa9
Merge pull request #300 from savoirfairelinux/leak
...
network engine: fix node leak during destruction
2018-05-24 15:14:22 -04:00
Adrien Béraud
9249f34c47
network engine: fix node leak during destruction
2018-05-24 15:01:23 -04:00
Sébastien Blin
57401e8d53
Merge pull request #297 from savoirfairelinux/logs
...
log: fix LogMethod copy
2018-05-24 14:55:06 -04:00
Adrien Béraud
f5f71a0365
log: fix LogMethod copy
2018-05-24 11:57:12 -04:00
Adrien Béraud
1fe9f2fdb1
dhtnode: default-initialize dht config
2018-05-23 11:21:25 -04:00
Sébastien Blin
59d129b8ff
Merge pull request #293 from savoirfairelinux/proxy_fixes
...
Proxy fixes
2018-05-17 14:47:16 -04:00
Adrien Béraud
5b5349d7ad
proxy client: lock proxy info thread, catch detach exceptions
2018-05-17 11:34:25 -04:00
Adrien Béraud
b2ba1ca002
proxy server: close socket if no token
2018-05-17 11:33:32 -04:00
Adrien Béraud
8606e87684
proxy client: allow concurrent proxy info requests ( #292 )
1.7.3rc1
2018-05-11 15:47:24 -04:00
Adrien Béraud
e4f640f11b
update to version 1.7.2
1.7.2
2018-05-08 15:58:24 -04:00
Adrien Béraud
e31d301d90
dhtrunner: run connectivityChanged() even when disconnected
2018-05-08 15:58:24 -04:00
Adrien Béraud
2a15435be3
Merge pull request #291 from AmarOk1412/fixPushIdle
...
proxy: set status to CONNECTED when receiving a push notifications
2018-05-08 13:46:59 -04:00
Adrien Béraud
44a411ba96
Merge pull request #279 from savoirfairelinux/testsproxy
...
tests: begin tests for dht_proxy_server
2018-05-08 13:46:42 -04:00
Sébastien Blin
bf2f2369b1
proxy: set status to CONNECTED when receiving a push notifications
...
If a device receives a push notification, we can assume that the
proxy is up and running (because it sends a push notification).
Indeed, if the proxy is declared as disconnected, no operatons will
be executed when a push notification is received. This state is logic
when not using push notifications (because the local node is down),
but here, the status depends more on the proxy than the local node.
2018-05-08 13:35:13 -04:00
Adrien Béraud
b8b1f61268
search: announce immediately if synced and not pending/completed
1.7.2rc3
2018-05-07 17:43:31 -04:00
Adrien Béraud
63db2eafd9
dht: print detailed request state in search log
2018-05-07 17:43:31 -04:00
Adrien Béraud
68f52a815d
proxy client: refactor ( #289 )
...
Factor various ways of sending listen requests.
2018-05-07 14:54:32 -04:00
Adrien Béraud
9f35acf559
dhtnode: continue cmd loop on connectivity change
2018-05-05 18:23:52 -04:00
Adrien Béraud
d8e82ca7c4
dhtrunner: check dht before getting public addresses
2018-05-04 21:41:39 -04:00
Adrien Béraud
981bcfc0ba
dht: handle error when sending listen
2018-05-02 14:26:24 -04:00
Adrien Béraud
4a49a53222
Revert "network engine: expire node on next run on network failure"
...
This reverts commit 8489433060 .
2018-05-02 11:55:01 -04:00
Sébastien Blin
9f987e24fe
Merge pull request #277 from savoirfairelinux/proxy_refresh
...
proxy client: independently resubscribe push listeners
1.7.2rc2
2018-04-30 10:56:18 -04:00
Sébastien Blin
95f1d59a7f
proxy: add comment for refresh job
2018-04-30 10:42:39 -04:00
Adrien Béraud
a4fe27223f
immessage: fix warning
2018-04-30 10:40:47 -04:00
Adrien Béraud
5408dc6f09
Merge pull request #287 from AmarOk1412/immsgwithdt
...
immessage: add support for custom datatypes
2018-04-27 13:34:23 -04:00
Adrien Béraud
35d4c1d332
Merge pull request #288 from AmarOk1412/restartListenerWithoutPush
...
proxy: restart listeners if the proxy server close the connection
2018-04-27 13:33:59 -04:00
Sébastien Blin
c583b7284c
tests: add testListen for DhtProxyTester
2018-04-26 17:05:23 -04:00
Sébastien Blin
2ce0c5c4c9
proxy: restart listeners if the proxy server close the connection
...
Detect if the proxy server close the connection linked to a listener and
relaunch listeners
2018-04-26 16:45:14 -04:00
Sébastien Blin
484194c114
immessage: add support for custom datatypes
2018-04-23 17:39:37 -04:00
Adrien Béraud
b26b78c049
dhtrunner: fix warnings
1.7.2rc1
2018-04-21 17:57:59 -04:00
Adrien Béraud
522a15c410
proxy client: refresh persistent put with margin
2018-04-21 17:57:59 -04:00
Adrien Béraud
6a981772fd
proxy server: cleanup
2018-04-21 17:57:59 -04:00
Adrien Béraud
cc37fb50e2
proxy client: take persistent put by reference
2018-04-21 17:44:45 -04:00
Adrien Béraud
1c9acfe001
proxy client: call opFailed on failure
2018-04-21 15:08:48 -04:00
Adrien Béraud
c6cef856f0
proxy server: cleanup
2018-04-21 12:23:33 -04:00
Adrien Béraud
9f503dbb65
proxy client: loopSignal on put refresh notification
2018-04-21 12:22:58 -04:00
Adrien Béraud
7e4478123f
proxy client: use time_point::max() on persistent put
2018-04-21 12:22:00 -04:00
Adrien Béraud
e54d26aaf7
dhtrunner: handle push notification on main dht loop
2018-04-21 12:21:00 -04:00
Adrien Béraud
ee749d1ea7
update to version 1.7.1
1.7.1
2018-04-20 22:21:15 -04:00
Adrien Béraud
a0d77e7b19
Merge pull request #283 from savoirfairelinux/fixPush
...
proxy server, fix push listeners and avoid flooding nodes
2018-04-20 18:46:04 -04:00
Sébastien Blin
9421984a89
proxy: cancelPushListeners using clientId instead of token
...
All listeners uses a token equals to 0, we need to identify listeners
with client_id instead of a token.
2018-04-20 16:37:12 -04:00
Sébastien Blin
37ef1c2cff
proxy: set clientId to listener
...
clientId was not properly set. so every time someone launch a node
and do a listen on a hash, a new listener is generated and it results
by flooding the node of push notifications.
2018-04-20 16:19:03 -04:00
Sébastien Blin
0a04a7f28d
proxy: unsubscribe is now valid with token equals 0
...
Because we now have one listener for each client by hash, the token
is unnecessary here. Moreover, this check is invalid cause we use
a token equal to 0.
2018-04-20 15:25:57 -04:00
Sébastien Blin
b47a85fe09
Merge pull request #282 from savoirfairelinux/op_time_cache
...
op cache: keep listeners alive for some time after cancel
2018-04-20 13:43:32 -04:00
Adrien Béraud
4b7b3cd518
dhtrunner: use proper token with cancelListen(future<token>)
2018-04-20 13:35:13 -04:00
Adrien Béraud
1a2d783c2a
op cache: keep listeners alive for some time after cancel
2018-04-20 11:35:45 -04:00
Sébastien Blin
7f943e07a5
tests: begin tests for dht_proxy_server
...
Like dhtrunnertester add testGetPut for the dht_proxy_server.
2018-04-19 13:08:26 -04:00