Adrien Béraud
a65148cd08
ci: build proxy client for Autotools build
2024-05-31 06:58:09 -04:00
Adrien Béraud
5a2a20a32f
http: migrate from http-parser to llhttp
2024-05-31 06:58:09 -04:00
Lanius-collaris
318d02c55a
update http, dht_proxy_client
...
http: simplify Connection::async_connect()
dht_proxy_client: add listenKeepIdle setting
2024-05-25 23:57:52 -04:00
Lanius-collaris
a69da52f89
update http.h, http.cpp
2024-05-25 23:57:52 -04:00
Lanius-collaris
ac0ea6ac57
proxy client: decrease the frequency of keepalive for listen op
2024-05-25 23:57:52 -04:00
Lanius-collaris
88d65a55a7
http: allow to modify keepalive option
2024-05-25 23:57:52 -04:00
Lanius-collaris
dffe7d91ee
return to 386943de
2024-05-25 23:57:52 -04:00
Lanius-collaris
da638b3ae6
cleanup
2024-05-25 23:57:52 -04:00
Lanius-collaris
379568ae0d
Update http.cpp
2024-05-25 23:57:52 -04:00
Lanius-collaris
24adfbf2c4
Adjust TCP keepalive options for listen op
2024-05-25 23:57:52 -04:00
François-Simon Fauteux-Chapleau
89179cad4f
network_utils: use poll instead of select
...
select is limited to file descriptor numbers below FD_SETSIZE (1024),
and calling FD_SET with a higher value can cause a buffer overflow. This
can be problematic for applications using OpenDHT as a library.
2024-05-22 11:57:38 -04:00
François-Simon Fauteux-Chapleau
f2cee8e9ce
thread pool: add function to detach threads
2024-04-23 14:02:32 -04:00
Adrien Béraud
386943de39
tests/proxy: use random port
2024-04-06 23:29:38 -04:00
Adrien Béraud
60b810af7e
meson: disable long tests by default
2024-04-06 23:29:35 -04:00
Adrien Béraud
aa2c0c2da9
meson: add test for PeerDiscovery
2024-04-06 23:01:41 -04:00
Adrien Béraud
62debfa58a
meson: add test prefix for unit tests
2024-04-06 22:59:12 -04:00
Adrien Béraud
9741dba974
update version to 3.1.11
v3.1.11
2024-04-06 22:26:56 -04:00
Adrien Béraud
93ac28ead2
meson: configure pkgconfig files
2024-04-06 20:10:33 -04:00
Adrien Beraud
a0a3cd3028
proxy: add long test
2024-04-06 19:42:42 -04:00
Adrien Béraud
611ecbd06a
meson: add ability to build static or shared
2024-04-06 19:18:27 -04:00
Adrien Béraud
70c465b006
meson: link tests with msgpack
2024-04-06 18:43:36 -04:00
Adrien Beraud
59c8d9b9be
op cache: return cache result in onValue
2024-04-06 18:24:16 -04:00
Adrien Beraud
7f70fcd316
proxy client: cancel http request on listen cancel
2024-04-06 18:24:16 -04:00
Adrien Beraud
17e9ad5093
meson: fix build with proxy server
2024-04-06 15:51:11 -04:00
Adrien Beraud
42435bdd4f
meson: allow to build unit tests
2024-04-06 15:51:11 -04:00
Adrien Beraud
c125a2af1f
meson: build thread pool
2024-04-06 15:51:11 -04:00
Andreas Traczyk
c0a1356049
dht_proxy_server: use lambda instead of std::bind for listen callback
...
Avoids issues compiling with MSC.
Also move PushSessionContext definition outside the OPENDHT_PUSH_NOTIFICATIONS condition.
2024-04-04 14:20:01 -04:00
Adrien Béraud
5e6679139b
update version to 3.1.10
v3.1.10
2024-04-03 14:35:42 -04:00
Andreas Traczyk
c118f85886
Merge pull request #694 from savoirfairelinux/push-value-IDs
...
provide value IDs for push notifications
2024-04-03 11:52:01 -04:00
Andreas Traczyk
b40d604ef7
provide value IDs for push notifications
2024-04-02 17:34:16 -04:00
SASANO Takayoshi
f630b013ee
replace CPPFLAGS += ... (2)
2024-04-02 13:04:52 -04:00
SASANO Takayoshi
36167c3e45
replace CPPFLAGS += ...
2024-04-02 13:04:52 -04:00
Adrien Béraud
4eaa53a4a6
update version to 3.1.9
v3.1.9
2024-03-24 23:42:44 -04:00
Adrien Béraud
4859e9c4e7
meson: support building with push notification support
2024-03-24 23:42:01 -04:00
Adrien Béraud
c82c393102
ci: use Cython from pip
2024-03-24 23:31:18 -04:00
Adrien Béraud
5dc162a4ec
meson: support building python
2024-03-24 23:26:05 -04:00
Adrien Béraud
5a4c599139
meson: support building with indexation
2024-03-24 23:25:40 -04:00
Adrien Béraud
07ca10a451
Revert "ci: build proxy client for Autotools build"
...
This reverts commit 2dc9f25ff4 .
v3.1.8.2
2024-03-24 22:14:32 -04:00
Adrien Béraud
0e556b88be
docker: use cython, meson from pip
v3.1.8.1
2024-03-24 22:08:03 -04:00
Adrien Béraud
0b242e62c5
update version to 3.1.8
v3.1.8
2024-03-24 21:46:15 -04:00
Adrien Béraud
acde8fa6ec
crypto: remove legacy decrypt
2024-03-24 18:12:27 -04:00
Adrien Béraud
c8b5611386
dhtnode: fix small typo in put encrypted log
2024-03-24 15:45:55 -04:00
Adrien Béraud
f7e4533282
crypto: always zero-initialize gnutls_datum_t
2024-03-24 15:45:52 -04:00
Adrien Beraud
5abbef547b
use new log format
2024-03-22 13:49:44 -04:00
Adrien Beraud
3c27b2c777
dhtrunner: avoid blocking when stopping
...
A deadlock was possible when if shutdown operation occured when the dht was in "connecting" state.
2024-03-22 13:49:44 -04:00
Adrien Beraud
903eba6a31
proxy client: cancel resolver on stop
2024-03-22 13:49:44 -04:00
Adrien Beraud
a37e42af37
Request: cancel resolver on cancel
2024-03-22 13:49:44 -04:00
Adrien Beraud
cc6cce6157
http: allow to cancel resolver
2024-03-22 13:49:44 -04:00
Adrien Béraud
2dc9f25ff4
ci: build proxy client for Autotools build
2024-03-17 16:38:35 -04:00
Adrien Béraud
7ca39b4a20
http: use OCSP_check_validity to check OCSP validity
2024-03-17 15:56:48 -04:00