Adrien Béraud
5112a322de
dht: reschedule permanent put refresh after request
1.7.5rc3
2018-09-19 01:54:54 -04:00
Adrien Béraud
85961c6a62
storage: properly refresh expiration
2018-09-19 01:54:54 -04:00
Adrien Béraud
1eb1f3d5ac
storageStore: add permanent mode
2018-09-19 01:54:54 -04:00
Adrien Béraud
726c138d90
dht: move storageStore to put
2018-09-19 01:54:54 -04:00
Adrien Béraud
1b6b1ca072
comments: fix typos
2018-09-19 01:54:54 -04:00
Adrien Béraud
7fb2da7c54
dhtrunner: avoid polling, use pipe to stop select
1.7.5rc2
2018-09-15 17:22:12 -04:00
Sébastien Blin
6721a272ea
Merge pull request #327 from savoirfairelinux/value_cache
...
value_cache: expire value if expiration is now
2018-08-12 10:42:22 -04:00
Adrien Béraud
246af2f065
value_cache: expire value if expiration is now
2018-08-11 21:27:18 -04:00
Adrien Béraud
57aba453b0
Merge pull request #325 from AmarOk1412/siteProxy
...
proxyserver: add stats endpoint for monitoring
2018-08-10 15:05:07 -04:00
Sébastien Blin
f54fcd768f
proxyserver: add stats endpoint for monitoring
2018-08-10 15:03:09 -04:00
Sébastien Blin
5b81476baf
Merge pull request #326 from savoirfairelinux/tests
...
tests: add unit tests for certificate revocation
2018-08-09 17:11:20 -04:00
Adrien Béraud
5b510cadfb
tests: add unit tests for certificate revocation
2018-08-09 14:51:02 -04:00
Adrien Béraud
c794781644
update to version 1.7.4
1.7.4
2018-07-31 13:45:56 -04:00
Adrien Béraud
2ef4999b0f
Merge pull request #322 from AmarOk1412/incorrectOk
...
dhtproxyclient: fix ok when a permanent PUT operations fails
2018-07-31 10:16:05 -04:00
Sébastien Blin
6069fba18f
dhtproxyclient: fix ok when a permanent PUT operations fails
2018-07-31 09:42:23 -04:00
Adrien Béraud
37ddd8c7f9
update to version 1.7.3
1.7.3
2018-07-25 16:40:47 -04:00
Adrien Béraud
23057a3082
unit tests: fix race condition
2018-07-25 11:54:28 -04:00
Adrien Béraud
dbdd3f8f63
Merge pull request #319 from AmarOk1412/fixLD
...
dhtrunner: don't use listeners structure without proxy client enabled
2018-07-25 11:32:55 -04:00
Sébastien Blin
751e79a250
dhtrunner: don't use listeners structure without proxy client enabled
...
The token used to cancel a listener was wrong. Indeed, tokenBGlobal
was used to get the linked listener, not to identify the listener
inside dhtrunner.
2018-07-25 11:28:46 -04:00
Adrien Béraud
7a961ffc51
Merge pull request #318 from atraczyk/master
...
build: replace WIN32_NATIVE macro with _MSC_VER
2018-07-23 14:01:17 -04:00
Andreas Traczyk
bfada958b9
build: replace WIN32_NATIVE macro with _MSC_VER
2018-07-23 13:45:52 -04:00
Sébastien Blin
78d91a8e0d
Merge pull request #316 from savoirfairelinux/proxy_server
...
dhtrunner: decrease max packet handling delay to 500ms
2018-07-13 14:37:09 -04:00
Adrien Béraud
cd5dc38a57
dhtrunner: decrease max packet handling delay to 500ms
...
Allows for faster recovery in case of CPU contention
2018-07-13 14:29:59 -04:00
Sébastien Blin
1ff2eeb220
Merge pull request #313 from savoirfairelinux/proxy_server
...
Proxy server
2018-06-28 09:16:13 -04:00
Adrien Béraud
ffbb9e23ef
dht: show usage at the end, print max store size
2018-06-27 11:54:15 -04:00
Adrien Béraud
af0a30c9c5
dhtrunner: drop oldest packet if queue is full
2018-06-26 20:41:04 -04:00
Sébastien Blin
97d5e3875d
Merge pull request #312 from savoirfairelinux/dht_performance
...
Dht performance
2018-06-21 11:49:09 -04:00
Adrien Béraud
2509e8bc5c
Revert "search: use pointer to SearchNode"
...
This reverts commit 3a41f2ce56 .
2018-06-20 14:50:40 -04:00
Adrien Béraud
e349912c07
search: improve canGet performance
2018-06-20 14:50:40 -04:00
Adrien Béraud
a1fc266eac
dhtrunner: add max rx queue size
2018-06-19 14:10:57 -04:00
Adrien Béraud
3e3679bebf
dhtrunner: drop packet if processing took too long
2018-06-18 15:52:20 -04:00
Adrien Béraud
e9cf16f361
cmake: allow to enable push notifications without proxy server
2018-06-15 21:09:37 -04:00
Adrien Béraud
3dca4db408
dhtrunner: don't setProxyServer in headers
...
Don't define setProxyServer in headers since it depends on a configuration option
2018-06-15 12:18:56 -04:00
Sébastien Blin
fb6d290692
Merge pull request #309 from savoirfairelinux/searchnode
...
SearchNode: refresh token
1.7.3rc4
2018-06-13 10:35:51 -04:00
Adrien Béraud
96c60d39ed
proxy server: reschedule after using function
2018-06-12 18:19:12 -04:00
Adrien Béraud
3a41f2ce56
search: use pointer to SearchNode
2018-06-12 16:54:12 -04:00
Adrien Béraud
5bd88533fe
SearchNode: refresh token in Query, Listen answers
2018-06-12 16:50:15 -04:00
Adrien Béraud
c48e24403b
Merge pull request #296 from AmarOk1412/resub
...
proxy: refresh puts and subscriptions when connectivity changes
1.7.3rc3
2018-06-06 12:18:58 -04:00
Sébastien Blin
3cf2c092f2
proxy: remove useless convertion from InfoHash to InfoHash
2018-06-06 12:16:10 -04:00
Sébastien Blin
aef8aa545b
proxy: reschedule printStatsJob
2018-06-06 12:08:31 -04:00
Sébastien Blin
0c61a605ad
proxy: refresh puts and subscriptions when connectivity changes
2018-06-06 11:29:40 -04:00
Sébastien Blin
e6b247bead
Merge pull request #307 from savoirfairelinux/crypto_tests
...
test: add crypto unit test
2018-06-06 10:05:10 -04:00
Sébastien Blin
6f1f18f128
Merge pull request #302 from savoirfairelinux/getnodeinfo
...
dhtrunner: add getNodeInfo()
2018-06-06 10:04:57 -04:00
Adrien Béraud
f24458860d
test: add crypto unit test
2018-06-06 01:12:18 -04:00
Adrien Béraud
07bed77714
proxy server: schedule task from outside thread
2018-06-05 19:43:56 -04:00
Adrien Béraud
aa202b2cd8
dhtrunner: add getNodeInfo()
...
Allow to retrieve all dht stats in a single API call using
the new method getNodeInfo() and the JSON-serializable
new structure NodeInfo.
2018-06-05 19:43:56 -04:00
Adrien Béraud
4c89ce9d3f
Merge pull request #303 from AmarOk1412/getNodeStats
...
dht_proxy_server: avoid mutex when getting /
2018-05-30 17:01:56 -04:00
Sébastien Blin
709a2c7b7c
dht_proxy_server: avoid mutex when getting /
...
The dht_proxy_server should be always up, so getNodesStats will
be pretty always up-to-date. We can add it into a job and avoid
to wait for this method to finish (and this method use an
internal lock) to have a quick answer about the status of the proxy.
Note: the update is forced during the initialization of the proxy
2018-05-30 14:25:46 -04:00
Adrien Béraud
b7e483078a
proxy: fix typo
2018-05-25 10:26:58 -04:00
Adrien Béraud
b2171d707a
network engine: properly apply flag MSG_NOSIGNAL
2018-05-25 10:26:58 -04:00