Adrien Beraud
9f7e4aaa96
Revert "log: add tag and filter mechanism"
...
This reverts commit afce0fb0b4 .
2025-12-10 12:12:05 -05:00
Adrien Béraud
0bfd3cd9fc
network engine: check on_expired
2025-12-09 15:46:57 -05:00
Adrien Béraud
cd07d68bef
crypto: only support webPush with GnuTLS 3.8.2+
2025-12-09 10:39:58 -05:00
Adrien Béraud
88f3870f20
dhtrunner: add registerInsecureType method and header file
2025-12-09 09:43:30 -05:00
Adrien Béraud
d9d2c44e0f
format
2025-12-09 09:43:19 -05:00
Adrien Béraud
a1c881d914
network engine: replace lambda with direct on_expired callback
2025-12-09 09:42:52 -05:00
Adrien Béraud
fbc489863f
http: use string_view for resolver, url
2025-12-02 22:28:32 -05:00
Adrien Béraud
504a3638d9
proxy server: add support for encrypted WebPush
2025-12-02 22:28:32 -05:00
Adrien Béraud
a85abccd62
proxy server: improve unifiedpush support
2025-12-01 22:20:37 -05:00
Adrien Béraud
afce0fb0b4
log: add tag and filter mechanism
2025-12-01 22:20:37 -05:00
Adrien Béraud
99f0334229
http: improve Url parsing
2025-11-30 12:40:17 -05:00
Lucas Fryzek
55ac11bf5c
Modify UnifiedPush post request to be AND_3 compliant
2025-11-30 10:54:18 -05:00
Adrien Béraud
6b8c3ea581
base64: use simdutf
2025-11-26 14:01:45 -05:00
Adrien Béraud
09308321f8
network_utils: cleanup
2025-11-19 11:20:02 -05:00
Adrien Beraud
47d2f41930
proxy client: check for null resolver
2025-11-17 12:56:36 -05:00
kestrel
de6ea1d632
Add support for io_uring for Autotools builds.
...
* configure.ac (liburing): Add --with-liburing option, tests for liburing.
* src/Makefile.am (libopendht_la_CPPFLAGS, libopendht_la_LIBS): Add relevant compiler and linker flags.
2025-10-15 15:13:19 -04:00
kestrel
1d2fd80fad
Use pkg-config to test for llhttp for Autotools builds.
...
* configure.ac (llhttp_lib): Replaces existing tests with PKG_CHECK_MODULES.
* src/Makefile.am (libopendht_la_CPPFLAGS, libopendht_la_LIBS): Add relevant compiler and linker flags.
2025-10-15 15:13:19 -04:00
Adrien Beraud
54fd6cf64f
securedht: avoid calling identity announced callback multiple times
2025-10-10 13:59:44 -04:00
Adrien Béraud
d12f9271b8
pht: use const reference for IndexEntry::TYPE
...
Prevents static initialization order issue
2025-09-22 14:41:22 -04:00
ovari
b6f98a8488
Update crypto.cpp
2025-09-14 13:38:35 -04:00
ovari
a5e39768e4
Update securedht.cpp
2025-09-14 13:38:35 -04:00
ovari
6f6fdba8dd
Update value.cpp
2025-09-14 13:38:35 -04:00
ovari
e4b8b0259d
Update http.cpp
2025-09-14 13:38:35 -04:00
ovari
8134d6201a
Update network_engine.cpp
2025-09-14 13:38:35 -04:00
ovari
db4cd7dcc1
Update peer_discovery.cpp
2025-09-14 13:38:35 -04:00
ovari
9d6107c01c
Update storage.h
2025-09-14 13:38:35 -04:00
ovari
de46d55b13
Update crypto.cpp
...
“ !” → “.”
bits → bit
can’t → unable to
wrong → incorrect
2025-09-14 13:38:35 -04:00
Adrien Beraud
99c56d13bb
crypto: fix build on GnuTLS 3.8.3 and bellow
2025-09-08 16:38:25 -04:00
Adrien Béraud
95fa29d2ec
securedht: add CertificateStoreQuery by PkId
2025-09-08 00:14:44 -04:00
Adrien Béraud
0c9d715d6d
crypto: allow to generate RSA OAEP private keys
2025-09-07 23:44:47 -04:00
Adrien Béraud
cfff247e06
crypto: support RSA OAEP encryption and decryption
2025-09-07 22:15:00 -04:00
Maxim Cournoyer
ccec6c2f67
replace usleep with nanosleep
...
* src/compat/msvc/unistd.h (usleep): Delete.
* tools/dhtcnode.c (main) <usleep>: Replace with nanosleep on non
Windows platform, or Sleep on Windows.
Fixes : #607
2025-07-20 22:25:28 -04:00
Adrien Béraud
3b0cce8c25
Added and tested build scenarios for Windows (MSYS2, MSVC)
2025-07-20 11:55:40 -04:00
Andrey Vukolov
58956549b8
Merge branch 'savoirfairelinux:master' into winbuild
2025-07-15 16:47:24 +02:00
Adrien Beraud
312f883387
proxy server: move ServerStats impl to cpp
2025-07-10 13:46:17 -04:00
Andrey Vukolov
a05479e2dc
Merge branch 'master' into winbuild
...
- Built and tested on MSVC for static and dynamic builds, tested.
2025-06-17 18:59:51 +02:00
Adrien Béraud
d3e2fd1099
fixes for msvc
2025-06-12 10:32:20 -04:00
Adrien Béraud
6b0e154bd5
build/cmake: add vcpkg support for msvc
2025-06-12 10:32:20 -04:00
Andrey Vukolov
fb630e29b9
Merge branch 'savoirfairelinux:master' into winbuild
2025-06-12 09:28:10 +02:00
Adrien Beraud
28ea18671f
http: use appropriate log level for DNS result
2025-06-11 16:08:36 -04:00
Andrey Vukolov
798adefcde
Fixes for MSYS2
...
- Set populated only for msgpack-cxx that does not exist for
MinGW GCC x86_64
https://packages.msys2.org/base/mingw-w64-msgpack-cxx
- .gitignore fix for vcpkg (incorporated #760 )
- GnuTLS version handler fix (#755 , #758 )
2025-06-09 15:31:38 +02:00
Andrey Vukolov
72afb61079
Merge branch 'savoirfairelinux:master' into winbuild
2025-06-09 09:40:26 +02:00
Adrien Béraud
e6fc8b7586
dhtrunner: add putEncrypted with PkId 'to' argument
2025-06-09 00:52:05 -04:00
Adrien Béraud
09da6db5e7
securedht: add putEncrypted with PkId 'to' argument
2025-06-09 00:52:05 -04:00
Adrien Béraud
e870c3b486
dhtrunner: allow to find certificates by PkId
2025-06-09 00:52:05 -04:00
Adrien Béraud
dcf31b2c5f
securedht: allow to find certificates by PkId
2025-06-09 00:52:05 -04:00
Adrien Béraud
f2eb234fd9
securedht: put certificate at PkId
2025-06-09 00:52:05 -04:00
Andrey Vukolov
de8b441dae
Merge branch 'master' into winbuild
2025-06-02 16:37:57 +02:00
Andrey Vukolov
5c4997d07e
Merge master branch changes
...
- Applies master branch changes from #753 #754 #755 #756
and commits for version 3.4.0 by @aberaud to winbuild branch
for #750
- CMake version handler for MINIMUM requirement setup to 3.5
2025-06-02 16:26:45 +02:00
Andrey Vukolov
5c21401728
constexpr fixes for preparation of MSVC build
...
- Addresses https://github.com/savoirfairelinux/opendht/pull/750/files#r2089281221 in #750
- Adds infohash.cpp file for correct build of the DLL nametables in SHARED mode with MSVC
- Reverted commits 352e36500c and 6a264d6f73
- Fixes DLL build issues on Windows due to OPENDHT_PUBLIC definitions described in #750
- Prepares the build system for merging changes from #750 (@aberaud)
2025-06-01 10:26:18 -04:00