Adrien Béraud
73dc55155e
utils: make unpackMsg take const Blob& and inline
...
Change the template unpackMsg to accept a const Blob& to avoid an
unnecessary copy of the Blob argument. Move the non-template unpackMsg
(returning msgpack::unpacked) into the header as an inline function and
remove its out-of-line definition from src/utils.cpp. Update
declarations accordingly.
2026-02-05 21:31:42 -05:00
Adrien Béraud
638ffdc669
logger: add missing header
2026-01-29 22:55:47 -05:00
Adrien Béraud
e6836f076f
logger: protect children with mutex
2026-01-29 22:38:31 -05:00
Adrien Béraud
76ae1cd6f2
logger: make setFilter match substrings
...
Allow to filter based on partial tag match
2026-01-27 14:29:43 -05:00
Adrien Béraud
c59c0ef64d
log: add tag and filter mechanism
2026-01-26 17:31:37 -05:00
Adrien Béraud
f9cba71d51
Switch project license from GPL-3.0-or-later to MIT
2026-01-17 22:25:43 -05:00
Adrien Béraud
4fd4745647
update copyright to 2026
2026-01-17 17:09:06 -05:00
Adrien Béraud
f55884b7d3
utils: cleanup
2026-01-07 00:14:25 -05:00
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
88f3870f20
dhtrunner: add registerInsecureType method and header file
2025-12-09 09:43:30 -05:00
Adrien Béraud
f427f36d9c
Add exceptions for missing owner or recipient in unpackValue methods
2025-12-09 09:43:19 -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
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
Adrien Béraud
3e8d9835d4
utils: various fixes to build with c++23
2025-11-26 14:03:56 -05: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
d46e302b3f
Update network_engine.h
2025-09-14 13:38:35 -04:00
ovari
6f57e03b48
Update network_engine.h
2025-09-14 13:38:35 -04:00
ovari
e5ef0a8900
Update dhtrunner.h
2025-09-14 13:38:35 -04:00
ovari
b6f21933ab
Update securedht.h
2025-09-14 13:38:35 -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
04edc70fee
dhtrunner: update documentation for join()
2025-09-06 17:14:10 -04:00
Adrien Béraud
3fec6e7636
pht: don't export IndexEntry::ValueType
2025-09-02 09:22:40 -04:00
Adrien Béraud
d50585188d
utils: add missing header
2025-09-01 19:42:41 -04:00
Adrien Beraud
8de9584b72
dhtrunner: mark getId() deprecated
2025-08-30 22:20:32 -04:00
Adrien Béraud
daf2f8edaf
value: add OPENDHT_PUBLIC to default store policy
2025-08-24 01:25:47 -04:00
Adrien Beraud
df3186ad95
proxy server: export ServerStats
2025-07-16 11:29:18 -04:00
Adrien Beraud
312f883387
proxy server: move ServerStats impl to cpp
2025-07-10 13:46:17 -04:00
Andrei Vukolov
a3bd1416d4
Removed OPENDHT_PUBLIC specifier from templatized classes
2025-06-14 17:45:41 -04:00
Adrien Béraud
d3e2fd1099
fixes for msvc
2025-06-12 10:32:20 -04:00
Adrien Béraud
dd9d74e227
fixes for mingw
2025-06-12 10:32:20 -04:00
Adrien Béraud
94006f2fe1
sockaddr: add setLoopback()
2025-06-10 18:35:48 -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
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
Adrien Béraud
c4e75ae66c
update copyright year
2025-05-22 19:07:32 -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
38b0b2248f
crypto: add Certificate::getDN() to read RFC4514 distinguished name
2025-05-19 23:55:42 -04:00
Adrien Béraud
7aad21b7ed
value: cleanup
2025-05-19 23:55:31 -04:00
Adrien Béraud
352e36500c
utils: make HexMap constexpr
2025-04-05 09:49:58 -04:00
Adrien Béraud
7397bd615f
infohash: always write end of string terminator
2025-03-24 23:37:07 -04:00
Adrien Béraud
6a264d6f73
infohash: constexpr HexMap constructor
2025-03-24 23:29:32 -04:00
Adrien Beraud
b2860e1731
proxy client: provide result for pushNotificationReceived
2025-02-20 14:13:16 -05:00
ovari
23af860532
Update pht.h
2024-12-19 15:29:21 -05:00