Adrien Béraud
a7ac979da6
update to version 2.1.3
2.1.3
2020-05-25 15:18:51 -04:00
Adrien Béraud
87f48f0a28
getSeededRandomEngine: retry in case of exception
2020-05-25 15:18:51 -04:00
Adrien Béraud
15586a3cb1
travis: update configuration
2020-05-24 14:24:30 -04:00
Adrien Béraud
2195c0ed3e
proxy server: allow build without push notification support
2020-05-24 14:11:13 -04:00
Adrien Béraud
af1e904895
dockerfile: add pkg-config
2020-05-24 11:52:56 -04:00
Adrien Béraud
a4fbf7ced0
docker: update
2020-05-24 02:04:45 -04:00
Adrien Béraud
1b7e0679d5
proxy server: check push token when loading state
2020-05-24 02:04:45 -04:00
Sébastien Blin
9292c1116c
proxy: count permanent put values by hash in stats
2020-05-24 01:25:31 -04:00
Adrien Béraud
a2afb5bb31
network engine: send confirmation for value update
2020-05-24 00:20:27 -04:00
Adrien Béraud
15fbfdebcc
dht: only load id if set in configuration
2020-05-22 12:28:25 -04:00
Adrien Béraud
15eb221cd1
dht: save id, port when saving state
2020-05-22 12:15:10 -04:00
Adrien Béraud
7d3781acc8
dht: use pseudo-rng for ID generation
2020-05-22 12:14:47 -04:00
Sébastien Blin
f3100a6752
proxyclient: avoid to generate tokens with \0
2.1.2
2020-05-20 12:23:59 -04:00
Adrien Béraud
e3cd2a9d02
proxy server: add missing listener type
2020-05-19 19:52:51 -04:00
Adrien Béraud
19ccc3a327
proxy server: restart timers on resubscribe
2020-05-19 19:50:20 -04:00
Adrien Béraud
4587c0925f
utils: always check length in findMapValue
2020-05-19 19:50:20 -04:00
Adrien Béraud
fc96245891
cmake: cleanup
2020-05-19 19:50:20 -04:00
Adrien Béraud
a27815b4a9
proxy server: persist ops on disk
2020-05-19 19:50:20 -04:00
Adrien Béraud
5daaf372b4
proxyserver: generate id before put
2020-05-11 12:31:07 -04:00
Sébastien Blin
cc51d2684c
proxy: only keep last total stat
...
The rest is not needed.
2.1.1
2020-05-05 17:00:07 -04:00
Sébastien Blin
28b5893239
listener: fully migrate to requests
...
This patch migrates tellListenerRefreshed and tellListenerExpired
to the new behavior
2020-05-05 10:38:03 -04:00
Adrien Béraud
c754b5cfce
update to version 2.1.0
2.1.0
2020-04-30 14:58:25 -04:00
Adrien Béraud
b0c1249710
network engine: check for logger
2020-04-29 20:23:19 -04:00
Adrien Béraud
c41ee417fb
tools: cleanup
2020-04-29 19:22:24 -04:00
Adrien Béraud
47ba0415ca
tools: use bootstrap split/default port from dht
2020-04-29 17:12:11 -04:00
Adrien Béraud
99857e25cc
dhtnode: use async version of getNodeInfo
2020-04-29 16:13:36 -04:00
Adrien Béraud
7f832ba9d5
NodeInfo: add bound ports
2020-04-29 16:00:02 -04:00
Sébastien Blin
8c4a894f93
misc: replace TransId to Tid
2020-04-28 13:55:29 -04:00
Sébastien Blin
dd3de412fb
dht: move updateValues logic into network_engine
2020-04-28 13:55:29 -04:00
Sébastien Blin
4ad5e6c9ba
misc: clean
2020-04-28 13:55:29 -04:00
Sébastien Blin
b445818521
tests: enable test for listening with lot of values
2020-04-28 13:55:29 -04:00
Sébastien Blin
7c14ea1730
network_engine: fix pack for sendUpdateValues
2020-04-28 13:55:29 -04:00
Sébastien Blin
7bf9f861a5
dht: send update values for listeners
2020-04-28 13:55:29 -04:00
Sébastien Blin
4cf5c87761
network_engin: move to pack(socket)
2020-04-28 13:55:29 -04:00
Sébastien Blin
e1c6fec581
dht: starts to add update and version support
2020-04-28 13:55:29 -04:00
Sébastien Blin
31da5b91fa
[WIP]net: add updateValues to replace Listen operations
...
Actually, packets are not retransmitted for listen operations. This
leads to some problems when they are already several values present
at one hash. Ideally, packets should be transmitted inside a request
to avoid packet loss and get all datas.
This patch breaks the compatibility with previous versions
2020-04-28 13:55:29 -04:00
Adrien Béraud
01bcb1a750
network engine: completely remove TransId
2020-04-24 18:46:46 -04:00
Adrien Béraud
35348bf77f
dht: use default port for bootstraping
2020-04-24 17:45:40 -04:00
Adrien Béraud
ae58ea8312
search: expire only after candidate expiration
2020-04-24 16:32:07 -04:00
Adrien Béraud
f30d21e96f
move bootstrap logic from DhtRunner to Dht
2020-04-24 16:32:07 -04:00
Vladimir Stoiakin
7628aab230
opendht.pc: change -lpthread to -pthread
2020-04-19 14:13:56 -04:00
Adrien Béraud
f4cba56b3c
dht: optimize getStatus()
2020-04-17 02:09:57 -04:00
Adrien Béraud
7155dc4fb7
stats: add search, cached node count
2020-04-16 02:08:00 -04:00
Adrien Béraud
c961e2e99f
dht: allow to configure max searches & store size
2020-04-16 02:08:00 -04:00
Adrien Béraud
2fb8e1c7ee
Update README.md
2020-04-12 15:56:23 -04:00
Vladimir Stoiakin
4d689ef51a
update opendht.pc
2020-04-10 09:24:31 -04:00
Adrien Béraud
face9f12b2
request: cleanup
2.0.0
2020-03-30 18:39:28 -04:00
Adrien Béraud
c92f553a24
network engine: retransmit value parts
2020-03-30 17:54:50 -04:00
Adrien Béraud
8564cf3b86
tests/dhtrunner: test put/listen for large values
2020-03-30 17:54:47 -04:00
Adrien Béraud
e7c810d5d6
value: don't print large values
2020-03-30 17:54:42 -04:00