Commit Graph
428 Commits
Author SHA1 Message Date
tobtoht ea379f8f76 Merge pull request #10877
6308971 epee: narrow included asio headers (jpk68)

ACKs: jeffro256, selsta
2026-07-15 17:18:29 +00:00
tobtoht 381fce8dde Merge pull request #10828
fecef76 Fix spelling typos in comments and string literals (Thomas)

ACKs: tobtoht, selsta
2026-07-02 13:18:56 +00:00
tobtoht 6eef935d2c Merge pull request #10810
07f7c75 http: parse server Content-Length strictly (alhudz)

ACKs: vtnerd, selsta
2026-06-29 11:42:27 +00:00
Thomas fecef767c9 Fix spelling typos in comments and string literals 2026-06-27 09:53:48 +02:00
tobtoht 0a83a39883 Merge pull request #10792
02db831 Fix spelling typos (Thomas)

ACKs: tobtoht, jeffro256
2026-06-24 17:21:24 +00:00
alhudz 07f7c7521d http: parse server Content-Length strictly 2026-06-23 17:37:41 +05:30
tobtoht 2c48374ecd Merge pull request #10768
389f366 http: share deterministic header field parser (selsta)

ACKs: SChernykh*, vtnerd
2026-06-21 21:44:23 +00:00
selsta 389f3660db http: share deterministic header field parser 2026-06-21 22:25:58 +02:00
tobtoht bb069330c7 Merge pull request #10786
49108d7 epee: use correct minor http version (jpk68)

ACKs: selsta, tobtoht
2026-06-21 11:37:21 +00:00
Thomas 02db831d01 Fix spelling typos 2026-06-18 09:30:42 +02:00
tobtoht bf23534c8e Merge pull request #10691
f2afe97 p2p: close zone connections before stopping net servers (selsta)
3623399 p2p: make stop signal idempotent (selsta)
2026-06-06 13:12:31 +00:00
jpk68 49108d7a67 epee: use correct minor http version 2026-06-05 09:16:09 -04:00
tobtoht 67767bbb68 Merge pull request #10493
a46154e p2p: cleaner connection close() (j-berman)
2026-06-05 11:02:04 +00:00
jpk68 63089717ed epee: narrow included asio headers 2026-06-04 10:13:12 -04:00
selsta f2afe976c7 p2p: close zone connections before stopping net servers 2026-06-03 12:16:02 +02:00
selsta 3623399ea2 p2p: make stop signal idempotent 2026-05-31 02:45:53 +02:00
tobtoht 93e5d3e25e Merge pull request #10623
7704a19 contrib: fix unaligned&aliased levin buffer reads (jeffro256)
2026-05-27 00:45:25 +00:00
jeffro256andselsta 7704a194f0 contrib: fix unaligned&aliased levin buffer reads
Co-authored-by: selsta <selsta@users.noreply.github.com>
2026-05-21 21:16:45 -05:00
tobtoht b745be7235 Merge pull request #10587
2c327aa fix spelling in comments and docs (Thomas)
2026-05-19 19:53:51 +00:00
tobtoht 802194711a Merge pull request #10594
aa3abe2 net_ssl: Use EVP API to create EVP_PKEYs when available (jeffro256)
2026-05-19 16:28:05 +00:00
jeffro256 aa3abe2c03 net_ssl: Use EVP API to create EVP_PKEYs when available
The following functions are deprecated in OpenSSL 3.0 and used in net_ssl.cpp: `RSA_free`, `EC_KEY_free`, `RSA_new`, `RSA_generate_key_ex`, `EC_KEY_set_group`, `EC_KEY_generate_key`.

Since EVP_RSA_gen was added in OpenSSL 3.0 and since the aforementioned functions were deprecated in OpenSSL 3.0, I check if the OpenSSL version >= 3.0, and use EVP_RSA_gen instead of everything else up to assigning the private key to the certificate in `create_rsa_ssl_certificate`.

I also deleted `create_ec_ssl_certificate` since it wasn't used.
2026-05-18 23:47:46 -05:00
tobtoht b90dd8d3b1 Merge pull request #10549
5a3f57d epee: skip IPv4 TOS option for non-IPv4 peers (iuyua9)
2026-05-15 11:29:30 +00:00
Thomas 2c327aa325 fix spelling in comments and docs 2026-05-13 21:20:05 +02:00
iuyua9 5a3f57d6c3 epee: skip IPv4 TOS option for non-IPv4 peers 2026-05-09 20:46:42 +08:00
jpk68andselsta 8419a91e5a net_service: fix broken log formatting 2026-05-07 20:53:07 +02:00
tobtoht 8b79bfc836 Merge pull request #10485
5723d6b epee: remove save_limit_to_file (tobtoht)
2026-05-04 16:39:19 +00:00
j-berman a46154e6a8 p2p: cleaner connection close() 2026-04-28 22:22:09 -07:00
j-berman 17ce9ac0df p2p: wait_for on shutdown instead of indefinite wait 2026-04-28 16:20:44 -07:00
tobtoht 5723d6b6f1 epee: remove save_limit_to_file 2026-04-28 19:21:12 +02:00
j-berman 0150d45e39 connection: try-catch handles 2026-04-21 12:00:56 -07:00
tobtoht 49f3fabbf4 Merge pull request #10382
742c629 p2p: fix hanging shutdown (j-berman)
2026-04-07 09:01:30 +00:00
tobtoht 99addbcc91 Merge pull request #10357
3e2c837 Cleanup some of the fragmented levin handling (Lee *!* Clagett)
2026-04-04 18:44:46 +00:00
selsta 1c97b0d0f2 abstract_tcp_server2: add missing return 2026-03-26 22:58:32 +01:00
j-berman 742c62928a p2p: fix hanging shutdown 2026-03-25 13:27:44 -07:00
Lee *!* Clagett 3e2c837b26 Cleanup some of the fragmented levin handling 2026-03-11 13:37:22 -04:00
Lee *!* Clagett 44869250bd Transition asio::deadline_timer to asio::steady_timer 2026-02-17 11:28:57 -05:00
j-berman 7d1f779530 p2p: connection patches
- Make sure the server sends a complete response when the client
includes the "Connection: close" header.
- Make sure the server terminates in `m_strand` to avoid
concurrent socket closure and ops processing.
2026-01-15 22:30:43 -08:00
Lee *!* Clagett fb64bb346e Skip ping connections in outgoing count 2025-08-09 10:48:53 -04:00
Lee *!* Clagett f567852867 Add check for exception in tcp accept handler 2025-06-12 17:46:42 -04:00
0xFFFC0000 d106e21b74 src: fix clangd warnings 2025-05-01 05:27:35 +00:00
tobtoht 02fba21846 Merge pull request #9881
8af33c71c epee: syncobj: replace shims with Boost classes (jeffro256)
2025-04-23 16:31:56 +00:00
jeffro256 8af33c71cf epee: syncobj: replace shims with Boost classes
a. `critical_section` is functionally identical to a `boost::recursive_mutex`
b. `critical_region_t` is functionally identical to a `boost::unique_lock`
c. remove some vestigial definitons `g_test_dbg_lock_sleep` as a variable
2025-04-01 11:09:26 -05:00
jeffro256 18376ca57d epee: remove reg_exp_definer.h
Locking to initialize static block variables isn't necessary since C++11:
https://en.cppreference.com/w/cpp/language/storage_duration#Static_block_variables
2025-03-31 14:02:15 -05:00
Lee *!* Clagett 50897a6871 Limit scope of TCP checks to incoming only 2025-02-24 21:55:35 -05:00
Lee *!* Clagett ec74ff4a3d Set response limits on http server connections 2025-02-13 23:55:17 -05:00
tobtoht 0e253622b2 Merge pull request #9459
7e766e13c Cleanup TCP throttling code (performance) + move connection checks (Lee *!* Clagett)
2025-01-22 22:39:57 +00:00
Lee *!* Clagett 4344f97255 Fix build with boost ASIO 1.87. Support boost 1.66+ 2025-01-06 18:05:25 -05:00
Lee *!* Clagett 7e766e13c3 Cleanup TCP throttling code (performance) + move connection checks 2024-12-19 20:47:44 -05:00
0xFFFC0000andBoog900 e9adafa49e contrib: force (de)serialization to create params section incase there is none.
Co-authored-by: Boog900 <boog900@tutanota.com>
2024-11-16 20:22:14 +00:00
copyCat 341771ac3e copyright: bump to 2024 2024-05-21 16:29:33 +00:00