Commit Graph
3076 Commits
Author SHA1 Message Date
Adrien Beraud 28ea18671f http: use appropriate log level for DNS result 2025-06-11 16:08:36 -04:00
Adrien Béraud 01e9c341df tests: use loopback address if peer bound any
fixes some tests on Windows
2025-06-10 18:37:19 -04:00
Adrien Béraud 94006f2fe1 sockaddr: add setLoopback() 2025-06-10 18:35:48 -04:00
Andrey Vukolov cc7c48a07e .gitignore for vcpkg in MANIFEST mode 2025-06-09 11:29:00 -04: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
Adrien Béraud c3f120f8f1 build/cmake: build C binding with vcpkg preset 2025-06-08 18:51:14 -04:00
Adrien Béraud 305f437f74 c: use appropriate includes for Windows 2025-06-08 18:51:14 -04:00
Adrien Béraud 701e8c89fb vcpkg: add support for tools 2025-06-07 16:23:59 -04:00
Adrien Béraud aa212c4b2d c/tools: use memset instead of bzero 2025-06-07 16:23:59 -04:00
Adrien Béraud 48254a6759 build/cmake: add opendht_EXPORTS as public definition 2025-06-07 16:23:59 -04:00
Adrien Béraud 37ccc2f3a2 build/meson: fix typo 2025-06-07 16:23:59 -04:00
Adrien Béraud 2819047649 build/cmake: define C standard used 2025-06-07 16:23:59 -04:00
Adrien Béraud 03e4be3974 build/cmake: add presets for vcpkg and unix 2025-06-03 11:46:36 -04:00
Adrien Beraud 91b241599d build: add vcpkg file 2025-06-03 11:46:36 -04:00
Adrien Beraud fcf2e7f94e Create codeql.yml 2025-06-03 11:33:04 -04:00
Adrien Béraud f1ff618dc8 Create codeql.yml 2025-06-03 11:30:01 -04:00
Adrien Beraud 5dcb342308 ci/github: use autobuild mode 2025-06-03 11:29:07 -04:00
Adrien Beraud 2d9d0761c9 ci/github: use autobuild mode 2025-06-03 11:23:25 -04:00
Adrien Beraud 4df297df6c ci/github: use autobuild mode 2025-06-03 11:16:48 -04:00
Adrien Beraud 70e8f7efb5 ci/github: udpate CodeQL workflow 2025-06-03 10:58:33 -04:00
Andrey Vukolov 9b33ff8a15 Fix meson.build 2025-06-01 10:26:18 -04: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
Adrien Béraud acae4bc4ff peer_discovery: use string_view for service type 2025-05-31 19:28:30 -04:00
Andrey Vukolov 68dc6a64be Definitions fix for #756 2025-05-30 23:05:59 -04:00
Andrey Vukolov 54a8fef0ee Windows build fixed for tools (wingetopt, signals)
- Addresses https://github.com/savoirfairelinux/opendht/pull/750#discussion_r2089286643
    - Structures wingetopt and win32 compatibility files for builds on Windows with MSVC
    - Adjusts opendht_EXPORTS definition when building tools on MSVC
2025-05-30 23:05:59 -04:00
Andrey Vukolov a722726196 GNUTLS_INTERNAL_BUILD fix
- Removed GNUTLS_INTERNAL_BUILD definition to avoid problems with gnutls_free()
      function (https://github.com/savoirfairelinux/opendht/pull/750#issuecomment-2832005765)
      https://github.com/ShiftMediaProject/gnutls/blob/f78e2e673e84601283fb5ec353bfdd53204becd2/SMP/gnutls/gnutls.h#L2286
2025-05-23 18:24:35 -04:00
Andrey Vukolov b9bd954dfd GnuTLS version handler routine for versions 3.8.7 and later
- Added GnuTLS version handler directives for versions 3.8.7 and later
      https://github.com/savoirfairelinux/opendht/pull/750#discussion_r2089284896
2025-05-23 18:24:35 -04:00
Andrey Vukolov aeb0b163cf MS Visual Studio .gitignore fix for CMake implicit builds
- Addresses review https://github.com/savoirfairelinux/opendht/pull/750#discussion_r2089277264 in #750
    - Allows clean clone and build in MS Visual Studio with different settings
2025-05-23 08:59:14 -04:00
Adrien Béraud c4e75ae66c update copyright year 2025-05-22 19:07:32 -04:00
Adrien Beraud d9afd2631b update version to 3.4.0 v3.4.0 2025-05-22 12:05:31 -04:00
Adrien Beraud 405220795b http: check for cb in async_read_until 2025-05-22 11:53:05 -04:00
Adrien Beraud 3e407e65fa storage: remove previous value size from quota when appropriate 2025-05-22 11:53:05 -04:00
Adrien Béraud a2dff6a123 dhtrunner: registerCertificate: take certificate by const ref 2025-05-20 21:55:04 -04:00
Adrien Béraud 8d030f75f6 valuetype: compare certificate using longId 2025-05-19 23:57:09 -04:00
Adrien Béraud 13af7a6002 dhtrunner: registerCertificate: take certificate by const ref 2025-05-19 23:57:09 -04:00
Adrien Béraud 2bc46e9657 build/cmake: search llhttp with pkg_search_module 2025-05-19 23:55:49 -04:00
Adrien Béraud b3b050ca26 build/cmake: declare support for cmake up to 3.31 2025-05-19 23:55:46 -04:00
Adrien Béraud 38b0b2248f crypto: add Certificate::getDN() to read RFC4514 distinguished name 2025-05-19 23:55:42 -04:00
Adrien Béraud 5cfb1c6c9c tests/dhtrunner: wait separately for two conditions 2025-05-19 23:55:37 -04:00
Adrien Béraud 7aad21b7ed value: cleanup 2025-05-19 23:55:31 -04:00
Adrien Béraud c3669cfd36 ci/github: update restinio tag name v3.3.1 2025-04-22 22:37:39 -04:00
Adrien Béraud 45f04a7b6f ci/github: update restinio 2025-04-22 22:33:59 -04:00
Adrien Béraud 33f9570ecb adapt for Asio 1.34 2025-04-22 20:02:37 -04:00
François-Simon Fauteux-Chapleau c2d8b19380 http: fix service name resolution failure 2025-04-14 22:12:56 -04:00
Adrien Béraud 9bd957da48 build/cmake: update CheckAtomic.cmake 2025-04-05 10:29:06 -04:00
Adrien Béraud 352e36500c utils: make HexMap constexpr 2025-04-05 09:49:58 -04:00