Adrien Béraud
5e92777702
fix clang-tidy warnings
2019-03-17 19:22:28 -04:00
Adrien Béraud
4401e47002
cleanup, fix clang-tidy warnings
2019-03-17 17:43:52 -04:00
Adrien Béraud
215b44ca3b
search: don't store filter in search
...
Filter is not supported anymore at the search listen stage.
Filters are now stored and called by the op cache.
2019-03-17 17:30:30 -04:00
Adrien Béraud
1e10e28fd7
network: improve message parsing performance
2019-03-17 16:07:20 -04:00
Adrien Béraud
f418b3651f
update copyright date
2019-03-16 12:37:23 -04:00
Adrien Béraud
313f54c840
dht: disable some verbose logs
2019-03-10 17:27:37 -04:00
Adrien Béraud
cdb721ade4
dht: move store logic to storage
2019-03-10 17:04:26 -04:00
Adrien Béraud
fec5a6ede7
make move operators noexcept
2019-03-10 16:39:16 -04:00
Adrien Béraud
5f8e9d9480
storage: make non-movable
2019-03-10 16:39:16 -04:00
Adrien Béraud
311a8981fc
thread pool: add computation, io pools
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
9319bec7b8
proxy client: close previous request on resubscribe
2019-02-19 18:43:14 -05:00
Adrien Béraud
e5f2a6eef5
proxy: send expired to sync values
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
683570a3da
add ThreadPool
2019-02-19 18:43:14 -05:00
Adrien Béraud
ba2e179abe
dht: optimize get
2019-02-19 01:59:59 -05:00
Adrien Béraud
a5d29c904c
op cache: optimize cache insertion
2019-02-19 01:59:59 -05:00
Adrien Béraud
989f32eb56
filter: cleanup and optimize
2019-02-19 01:59:59 -05:00
Adrien Béraud
1ca181db1d
value: simplify expression
2019-02-19 01:59:59 -05:00
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
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
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
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
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