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
Adrien Béraud
e76c80b8be
tests: disable rate limiting
2020-03-30 17:54:34 -04:00
Adrien Béraud
69f8969883
utils: fix build in 32 bit
2.0.0rc4
2020-03-25 23:39:54 -04:00
Adrien Béraud
bc200cd76d
utils: fix indentation
2020-03-25 23:08:39 -04:00
Adrien Béraud
187c7dbce3
http: preserve headers during redirect
2.0.0rc3
2020-03-25 23:00:16 -04:00
Adrien Béraud
81131f1c4e
utils: check time bounds
2020-03-25 23:00:16 -04:00
Adrien Béraud
ce9445a93f
pseudo-rng: improve fallback seed
2020-03-25 23:00:16 -04:00
Adrien Béraud
16372cba0c
Update README.md
2020-03-21 12:45:11 -04:00
Adrien Béraud
a2cbef315a
dht: avoid crash in persistent put when logging
2020-02-22 19:59:36 -05:00
Adrien Béraud
bc7c43dfd1
value: cleanup
2020-02-22 19:59:36 -05:00
Adrien Béraud
771b300622
durl: cleanup, fix on macOS
2020-02-22 19:59:36 -05:00
Adrien Béraud
5ffb5c628d
dht: avoid use-after-free when sending probe query
2020-02-14 13:52:55 -05:00
Adrien Béraud
cfa4ce61b4
cmake: add option to build http without proxy
2.0.0rc2
2020-02-13 16:55:59 -05:00
Adrien Béraud
5f15043f03
tools: add durl for http client testing
2020-02-12 16:46:06 -05:00
Adrien Béraud
f445b2536d
http: handle redirects
2020-02-12 16:45:25 -05:00
Adrien Béraud
6c2f791c4d
network utils: don't block on mutex in rx thread (2)
2020-02-11 17:07:53 -05:00
Adrien Béraud
780726c66d
network utils: don't block on mutex in rx thread
2020-02-11 16:20:30 -05:00
Adrien Béraud
8703cfdaee
dht: erase announce form search nodes on cancelPut
2020-02-09 15:15:47 -05:00
Adrien Béraud
1c536cbf5e
permanent put: set clientId
2020-02-09 10:34:42 -05:00
Adrien Béraud
a39e2443a0
dht: reuse probe query, avoid leak
2020-02-09 00:51:58 -05:00
Adrien Béraud
57528e7aab
scheduler: don't sync time on run
2020-02-08 22:04:50 -05:00
Adrien Béraud
e9d70f204a
tools: add perftest
2020-02-08 22:04:41 -05:00