Releases: savoirfairelinux/opendht
Releases · savoirfairelinux/opendht
1.9.5rc1
1.9.4
- peer discovery: added automatic serialization
- tools/systemd: use service (simple) mode by default
- dhtrunner: fix issue that could cause 100% CPU usage when running in forking daemon mode
- dhtrunner: minor cleanups/performance improvements
- thread pool: add Executor, unit tests
1.9.3
- peer discovery: major API overhaul (Ming Rui Zhang)
The samedht::PeerDiscovery
class instance can now be used to advertise and discover multiple services using the same socket. Services now publish and listen msgpack messages containing service-specific data. A single instance now also handles multiple address families (IPv4, IPv6). - thread pool: promoted as public API
Include<opendht/thread_pool.h>
, usedht::ThreadPool::io()
for blocking I/O operations (large pool) ordht::ThreadPool::computation()
for computations (pool limited to number of CPU cores). Threads are only started when needed. In OpenDHT the pool is currently only used by the proxy server. - proxy client: improve performance
- dhtnode: display
get
grouped results - dhtnode: improve duration format, show both IPv4/IPv6 bound ports
- dhtnode: improve manpage
1.9.2
1.9.1
1.9.0
- Add automatic multicast local peer discovery (Ming Rui Zhang)
DhtRunner
: enable it using new configuration options:
-config.peer_discovery
enables listening for other nodes,
-config.peer_publish
enables publishing our own node information,
dhtnode
: enable it (both publish and discovery) using--peer-discovery
or-D
- crypto: added initial support for Certificate Signing Requests (CSR)
- unit tests: fixed/improved DhtRunnerTester
1.8.2
- dht: add configuration to persist/load state to/from a file
- dht: avoid network request for 'get' if a 'listen' op is synched for the same key
- dht: performance/memory usage improvements
- proxy: handle value expiration/refresh
- proxy: reliability improvements
- proxy: performance improvements
- dhtrunner: avoid failing if socket can't be bound for one of ipv4/ipv6
- improved unit tests
1.8.1
- dht: fix issue that could cause listen callback to be called after returning false
- dht: reduce connection time for disconnected bootstrap node
- dht: improve performance when used disconnected
- dht: other minor performance improvements
- securedht: improve putSigned performance and network usage
- routing table: fix minor memory leak
- python: added new methods to SockAddr
- added more unit tests
- reduced log verbosity
1.8.0
Since 1.7.4:
- dhtrunner: added API to receive expiration for deserialized values
- proxy client: fixed data race in value reception
- proxy: support value expiration in REST protocol
- dht: fixed issue that could cause nodes to to wrongfully expire (hanyf)
- performance improvements
- stability improvements
- reduced network usage