Adrien Béraud
2de0737443
cmake: support some policies
2022-02-19 10:53:31 -05:00
Adrien Béraud
bc32f848cb
thread pool: cleanup
2022-02-19 10:53:31 -05:00
Adrien Béraud
edee6d63d6
build: use msgpack without boost
2022-02-19 10:49:25 -05:00
Adrien Béraud
af3f6f40bb
c: install header
2022-02-19 10:48:28 -05:00
Adrien Béraud
32f72c245d
dht: add max bootstrap period
2022-02-19 09:23:57 -05:00
Adrien Béraud
043ef8da72
dht: reset bootstrap period on connectivity change
...
Also starts a bootstrap if disconnected.
2022-02-19 09:23:57 -05:00
Adrien Béraud
6812b733bb
dht: respect exponential backoff
2022-02-19 09:23:57 -05:00
Adrien Béraud
2ec28dcb83
dhtrunner: use configured logger for dropped packets
2022-02-19 09:23:57 -05:00
Adrien Béraud
db000a2f88
build: update version to 2.3.2
2.3.2
2022-01-26 14:17:57 -05:00
Adrien Béraud
59880df60e
perftest: cleanup
2022-01-26 14:16:33 -05:00
Adrien Béraud
75f1b07e7a
crypto: cleanup
2022-01-26 14:16:33 -05:00
Adrien Béraud
f191c4f636
storage: 0-init size_diff
2022-01-26 14:16:33 -05:00
Sébastien Blin
1b2bc7b1e3
crypto: add parameter to change Certificate's validity period
...
This allow to create certificate with a different validity than
10 years and be able to change the expiration of a certificate
2022-01-19 14:51:45 -05:00
Bruno Pagani
a89e4d626e
tests: fix building with GCC11
...
Fixes `error: ‘sleep_for’ is not a member of ‘std::this_thread’`
2021-11-13 12:31:17 -05:00
Sébastien Blin
dbbfdaab0f
proxyclient: onConnectedCallbacks must be launched if started by notif
2021-10-27 13:45:30 -04:00
Sébastien Blin
536f30ec84
opendht.cpp: fix build
2021-10-22 11:03:12 -04:00
Adrien Béraud
b7aec1310c
crypto: make cachedId mutable
2021-09-16 11:28:59 -04:00
Adrien Béraud
31d76b1080
github: remove argon2 build
2021-09-16 11:19:10 -04:00
Adrien Béraud
2fbafc3591
crypto: cache Certificate Id
2021-09-16 11:08:02 -04:00
Adrien Béraud
19fe34415a
thread pool: fix build on MSVC
2021-09-15 16:45:56 -04:00
Sébastien Blin
2a50f85a30
proxy_server: set expiration for iOS devices
2.3.1
2021-09-10 10:21:31 -04:00
Sébastien Blin
26b71ab993
proxyclient: do not play with stop when resubscribing
...
At this point we do not care for the request. Subscribes are
instantaneous, so the request will be terminated at this point.
Changing the stop status can cause some push notifications to be
dropped if coming at this moment.
2021-09-10 10:21:31 -04:00
Sébastien Blin
04a78445c6
dht_proxy_server: increase ttl for push to 24 hours
...
If the android device is offline during more than 10 minutes, it
can misses push notifications and cause an incorrect state with
values not expired even if the re-subscribe is correct.
2021-09-10 10:21:31 -04:00
Adrien Béraud
fa19897016
HexMap: align on 64 bits
2021-08-09 18:20:12 -04:00
Adrien Béraud
3806355509
gitignore: add DS_Store
2021-08-09 18:20:12 -04:00
Adrien Béraud
3f6738185b
tests: fix testIdOps()
2021-08-05 12:42:29 -04:00
Adrien Béraud
e58d09e5da
dht: always display value ID as hex
2021-08-05 12:42:29 -04:00
heroku-miraheze
71cd9d22c6
Moved to Libera.chat.
2021-07-19 11:25:59 -04:00
Adrien Béraud
6c58d4f2e9
build: update version to 2.3.0
2.3.0
2021-06-09 16:56:19 -04:00
Adrien Béraud
4070eecea7
gitignore: add tools
2021-06-09 16:56:19 -04:00
Adrien Béraud
ffb53ceb1d
thread pool: add ExecutionContext
2021-06-09 13:59:33 -04:00
Adrien Béraud
0c00544798
remove embedded argon2, HTTP_PARSER_FORK
2021-06-09 13:57:10 -04:00
Adrien Béraud
471d443e4a
tests: add multithread test
2021-06-07 14:45:58 -04:00
Adrien Béraud
ba9a445263
securedht: clenup
2021-06-07 14:45:58 -04:00
Adrien Béraud
056bc2850b
test putEncrypted(pk)
2021-06-07 14:45:58 -04:00
Adrien Béraud
b668d6ad68
dhtrunner: add putEncrypted with public key
2021-06-07 14:45:58 -04:00
Adrien Béraud
29fab5560f
dhtrunner: add getPublicKey()
2021-06-07 14:45:58 -04:00
Adrien Béraud
8aef63ce4a
crypto: cache public key
2021-06-07 14:45:58 -04:00
Adrien Béraud
1ea7a2994e
value: use non-const PublicKey
2021-06-07 14:45:58 -04:00
Adrien Béraud
208b3fa6fe
SignedValue: add owner
2021-06-07 14:45:58 -04:00
Adrien Béraud
d9ff95da49
Revert "dhtrunner: force execution of pending ops on shutdown"
...
This reverts commit c8a0b443f3 .
2021-06-07 14:45:58 -04:00
Adrien Béraud
c8a0b443f3
dhtrunner: force execution of pending ops on shutdown
2.2.1rc1
2021-06-03 16:54:31 -04:00
Adrien Béraud
00e595d737
dht: fail if op key is null
2021-06-03 16:54:31 -04:00
Adrien Béraud
a178a8f820
dht, dhtrunner: add shutdown stop argument
2.2.0
2021-05-31 14:43:57 -04:00
Adrien Béraud
ec359d50fb
proxy tester: increase shutdown timeout
2021-05-31 14:43:57 -04:00
Adrien Béraud
3c5aeccd53
dhtrunner: don't read port config if already configured
2021-05-28 13:17:25 -04:00
Adrien Béraud
f99fe16a46
subset: use const ref
2021-05-28 13:17:25 -04:00
Adrien Béraud
43dc7cf222
sockaddr: fix warning
2021-05-28 13:17:25 -04:00
Sébastien Blin
ad549098f8
proxyServer: use lockListener_ to protect pushListeners_
2021-05-25 16:05:03 -04:00
Adrien Béraud
6795ba3838
cmake: fix building with peer discovery and without http
2021-05-20 15:49:11 -04:00