Adrien Béraud
abb9f9291b
proxy server: avoid unneeded copy
1.7.0
2018-04-14 18:15:02 -04:00
Adrien Béraud
e533f5686e
proxy server: use std::lock to avoid deadlock
2018-04-14 18:14:42 -04:00
Adrien Béraud
4234908b69
proxy server: check refresh job
2018-04-13 15:59:46 -04:00
Adrien Béraud
c10c4251b0
proxy server: print stats to stdout once in a while
1.7.0rc7
2018-04-13 15:52:56 -04:00
Adrien Béraud
8b90c47379
proxy server: add logs
2018-04-13 15:06:49 -04:00
Sébastien Blin
fae6b13897
Merge pull request #275 from savoirfairelinux/proxy
...
proxy server: catch exceptions in requests, always close connection
2018-04-13 14:17:04 -04:00
Adrien Béraud
a48a965c1a
proxy server: catch exceptions in requests, always close connection
2018-04-13 14:01:09 -04:00
Adrien Béraud
ab0f4f6f17
proxy client: refresh now in case of refresh notification
2018-04-13 11:14:40 -04:00
Adrien Béraud
e3114cd5b9
proxy client: catch name resolving exception
2018-04-13 11:09:34 -04:00
Adrien Béraud
8489433060
network engine: expire node on next run on network failure
1.7.0rc6
2018-04-11 11:27:46 -04:00
Sébastien Blin
6594d90042
Merge pull request #273 from savoirfairelinux/proxy_single_push
...
proxy server: keep only one push listener per token/key
2018-04-11 10:24:14 -04:00
Adrien Béraud
7c5145bca5
dhtnode: don't maintain storage
2018-04-10 16:01:14 -04:00
Adrien Béraud
e088cd10be
proxy server: keep only one push listener per token.key.clientId
2018-04-10 16:01:14 -04:00
Adrien Béraud
6a2f61a0db
dht: fix compilation warnings
2018-04-10 12:48:19 -04:00
Adrien Béraud
7b88a2122a
proxy: always use string tokens
2018-04-10 12:48:19 -04:00
Sébastien Blin
f9cf95d537
Merge pull request #272 from savoirfairelinux/proxy_client
...
Proxy client: multiple improvements and bug fixes
2018-04-09 12:21:29 -04:00
Adrien Béraud
4884306135
proxy client: restart listeners on reconnect
...
* track IPv4, IPv6 connectivity seperately
* properly restart listeners when connected
* get proxy info in parallel for multiple AF
2018-04-08 19:54:43 -04:00
Adrien Béraud
fd11a4b3e4
proxy client: prevent callback during cancelAllListeners
2018-04-08 19:54:00 -04:00
Adrien Béraud
b3c637536f
proxy client: prevent use-after-free after destruction
2018-04-08 19:54:00 -04:00
Adrien Béraud
1436af0321
value cache: prevent callback copy on move
2018-04-08 19:54:00 -04:00
Adrien Béraud
1debe012c1
proxy client: restart listeners on connectivity change
2018-04-08 19:54:00 -04:00
Adrien Béraud
368a842d2e
proxy client: don't block resolving address
2018-04-08 19:53:59 -04:00
Adrien Béraud
d250e9b630
proxy client: avoid sending listen with push notifications
2018-04-08 19:53:59 -04:00
Adrien Béraud
3ff6863287
proxy client: add logs
2018-04-08 19:53:59 -04:00
Sébastien Blin
96621ea332
Merge pull request #271 from savoirfairelinux/proxy_client_use_after_free
...
proxy client: retrieve search from callback
1.7.0rc5
2018-04-06 13:13:07 -04:00
Adrien Béraud
567fa1c703
proxy client: retrieve search from callback
2018-04-06 11:43:51 -04:00
Adrien Béraud
20ab71aba6
securedht: check public key
2018-04-05 14:23:15 -04:00
Adrien Béraud
1acace1b91
proxy client: add missing mutex, cleanup
2018-04-05 02:35:01 -04:00
Adrien Béraud
2f423fec48
crypto: check public key for null before pack or print
2018-04-05 02:33:58 -04:00
Adrien Béraud
7be550bf94
value cache: use single callback
2018-04-05 02:08:58 -04:00
Adrien Béraud
a8c0340bf1
Merge pull request #269 from AmarOk1412/removeCallbackId
...
proxy: remove useless callback_id
2018-04-03 12:26:52 -04:00
Sébastien Blin
5b71af3cec
proxy: remove useless callback_id
...
callback_id was used for token problems which are not present anymore.
Now token is sufficient and we can remove callback_id.
2018-04-03 10:43:56 -04:00
Adrien Béraud
fcf7111872
scheduler: avoid possible overflow with buggy stdlib
1.7.0rc4
2018-03-29 11:58:26 -04:00
Adrien Béraud
38ca7b851b
Merge pull request #267 from AmarOk1412/cpuusage
...
scheduler: avoid overflow causing 100% cpu usage
2018-03-29 11:42:13 -04:00
Sébastien Blin
62bbce76f2
scheduler: avoid overflow causing 100% cpu usage
2018-03-29 11:40:04 -04:00
Adrien Béraud
d9f6731de2
Merge pull request #265 from AmarOk1412/fixSplit
...
proxy_client: fix address split
2018-03-29 11:10:32 -04:00
Sébastien Blin
393a403ff2
proxy_client: fix address split
2018-03-29 11:00:33 -04:00
Adrien Béraud
62e4655d4f
Merge pull request #264 from AmarOk1412/fixPublicAddr
...
dht_proxy_client: fix getPublicAdresss parsing
1.7.0rc3
2018-03-28 16:44:34 -04:00
Sébastien Blin
60d43319e2
dht_proxy_client: fix getPublicAdresss
...
Retrieve all public ips (Ipv6 + v4). Has to resolve all proxy
address (so two get requests to get all ips)
2018-03-28 15:59:04 -04:00
Sébastien Blin
7d3c613347
Merge pull request #263 from savoirfairelinux/value_cache
...
Cache: improve value expiration handling
2018-03-28 10:11:12 -04:00
Adrien Béraud
d2df93c75e
network engine: send nodes in listen confirmation
2018-03-28 09:54:04 -04:00
Adrien Béraud
0edee443f5
cache: improve value expiration handling
2018-03-28 09:54:04 -04:00
Sébastien Blin
8c85f84b8a
Merge pull request #261 from savoirfairelinux/dhtrunner_unit_test
...
tests: add initial unit test for DhtRunner
2018-03-21 11:38:05 -04:00
Adrien Béraud
cea0d4f62e
tests: add initial unit test for DhtRunner
2018-03-21 11:22:21 -04:00
Adrien Béraud
203150851f
OpCache: keep cache alive during callback processing
1.7.0rc2
2018-03-19 20:11:12 -04:00
Adrien Béraud
9a5ef25179
update to version 1.7.0rc1
1.7.0rc1
2018-03-17 23:12:38 -04:00
Adrien Béraud
a5137e8ac4
tests: fix build with autotools
2018-03-17 14:47:23 -04:00
Adrien Béraud
c129a24492
travis: use 5 build configurations
...
Merge all push configurations to reduce build time
as Travis provides 5 free simultaneous builds.
The 'all' configuration is renamed 'push' to reflect the change
2018-03-17 14:40:50 -04:00
Adrien Béraud
8237f32bd5
travis: update Dockerfiles, change base OS to Ubuntu 16.04
2018-03-17 14:32:09 -04:00
Sébastien Blin
546e63edaf
Merge pull request #258 from savoirfairelinux/value_cache
...
Add a value cache for each nodes. This cache avoids network packets by grouping LISTEN operations on the same hash.
2018-03-16 13:55:24 -04:00