Adrien Béraud
1f3bf697c3
search: use syncStatus for get
2019-02-19 01:59:59 -05:00
Adrien Béraud
a1f8cc906c
proxy client: use SyncCallback
2019-02-19 01:59:59 -05:00
Adrien Béraud
35c6a57526
dht: add synced status
2019-02-19 01:59:59 -05:00
Adrien Béraud
39e69f813c
network engine: cleanup
2019-02-19 01:59:59 -05:00
Sébastien Blin
8045c2cbf2
dhtrunner: avoid startNetwork failure if only one binding is failing
2019-02-19 01:44:47 -05:00
Sébastien Blin
79a2f4280f
proxy: resolve url with protocol and port
2019-02-14 11:04:11 -05:00
Sébastien Blin
769ce45740
proxy_client: support prototype in serverHost
2019-01-22 07:56:27 -08:00
Sébastien Blin
75a14d3608
proxy: only get old values at first subscribe
2019-01-18 22:53:24 -08:00
Sébastien Blin
d523e9f259
tests: test retrieve values when resubscribe
2019-01-14 10:53:08 -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
824a1bf5fa
proxy_server: return old values when resubscribe
2019-01-14 10:53:08 -08:00
Sébastien Blin
e5b56cc0a5
dht: link to tellListenerRefreshed
...
When a permanent put is refreshed, the node has to tell to its
remote listeners that the value is refreshed.
2019-01-09 13:34:51 -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
459c1344aa
update to version 1.8.1
1.8.1
2018-12-28 11:38:15 -05:00
Adrien Béraud
c0e376e15a
dht: reduce log verbosity
2018-12-28 01:41:10 -05:00
Adrien Béraud
71b9672b96
value: don't print certificate id in toString by default
2018-12-28 01:38:45 -05:00
Adrien Béraud
086f37a71a
op cache: remove listener if callback returned false
2018-12-28 01:38:02 -05:00
Adrien Béraud
87e76a5e4e
tests: reverse nodes
2018-12-26 13:03:36 -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
8168c39b63
dht: cleanup
2018-12-26 01:22:37 -05:00
Adrien Béraud
d0fdbe5340
dhtrunner: print proper message on bind error
2018-12-26 00:58:43 -05:00
Adrien Béraud
c7604fbb8d
tests: wait for put before performing get
2018-12-26 00:56:49 -05:00
Adrien Béraud
56773baa98
unit tests: add listen test
2018-12-24 19:09:32 -05:00
Adrien Béraud
e6cf67c575
dht: clear local listener if callback returns false
2018-12-24 18:37:06 -05:00
Adrien Béraud
00ebc5e2bf
op cache: check callback return value
2018-12-24 18:36:29 -05:00
Adrien Béraud
ccef94c11b
Revert "storage: make non-movable"
...
This reverts commit 7ebad7d3c5 .
2018-12-24 17:16:15 -05:00
Adrien Béraud
0066be49b9
python: add more bindings for SockAddr
2018-12-24 16:55:25 -05:00
Adrien Béraud
592ed4ee90
op cache: don't call callback if no value
2018-12-24 15:50:41 -05:00
Adrien Béraud
353a6f9db6
op cache: add onCancel callback
2018-12-24 15:41:17 -05:00
Adrien Béraud
7ebad7d3c5
storage: make non-movable
2018-12-24 15:28:03 -05:00
Adrien Béraud
14f6e6e5f3
proxy client: catch exceptions in restbed::Http::async
2018-12-22 23:45:37 -05:00
Adrien Béraud
9ce5b30931
securedht: use query to check for existing value
2018-12-22 11:42:45 -05:00
Adrien Béraud
92979fa96a
dhtchat: add logging support
2018-12-21 19:55:27 -05:00
Adrien Béraud
0c1e7d2763
dht: run node confirmation if bucket was empty
2018-12-19 14:07:55 -05:00
Adrien Béraud
14a744f6cd
dht: log cleanup
2018-12-19 14:07:55 -05:00
Adrien Béraud
3b26684a87
network engine: add default values for sendFindNodes
2018-12-19 14:07:55 -05:00
Sébastien Blin
0a764ee440
Merge pull request #361 from savoirfairelinux/schedule_restart
...
proxy client: schedule listener restart
2018-12-18 16:07:39 -05:00
Adrien Béraud
7dda5a3d5a
proxy client: schedule listener restart
2018-12-18 10:10:14 -05:00
Adrien Béraud
306d573223
proxy client: fix race condition
2018-12-17 16:41:00 -05:00
Sébastien Blin
20f4355b73
Merge pull request #356 from savoirfairelinux/build
...
securedht: add override
2018-12-11 14:52:07 -05:00
Adrien Béraud
a2d7cd56a8
Merge pull request #358 from atraczyk/master
...
replace _write with send when building for windows
2018-12-11 14:48:26 -05:00
Andreas Traczyk
5cd53f3624
replace _write with send when building for windows
2018-12-11 14:37:14 -05:00
Adrien Béraud
32eea55f10
autotools: don't build doc if doxygen not found
2018-12-11 14:04:35 -05:00
Adrien Béraud
f2f913f93f
securedht: add override for relevant methods
2018-12-11 14:04:35 -05:00
Adrien Béraud
cb9fe9d1fe
Merge pull request #354 from atraczyk/master
...
msvc: replace write with _write when building on windows
2018-12-06 12:23:36 -05:00
Andreas Traczyk
dcab32ef4f
replace write with _write when building with msvc
2018-12-06 12:16:59 -05:00
Adrien Béraud
4948bd7ad3
node cache: remove expired weak pointers from cache
...
Remove expired Node weak pointers regularly,
in a way that ensures that:
* every expired pointer gets eventually cleaned up
* expired pointer ratio remains reasonably low
* no cleanup pass blocks the node for too long,
* impact on performance is negligible
Impact on performance:
Every N insertions, at most N nodes are tested by iterating the map
-> performance impact in O(1) (constant).
2018-11-29 19:27:32 -05:00
Adrien Béraud
4416b91461
update to version 1.8.0
1.8.0
2018-11-28 18:44:03 -05:00