Commit Graph

404 Commits

Author SHA1 Message Date
Thomas 2c327aa325 fix spelling in comments and docs 2026-05-13 21:20:05 +02:00
jpk68 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 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
0xFFFC0000 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
jeffro256 bcb15d3b00 Revert "http_client: reduce number of packets sent for small bodies"
This reverts commit 0ae5c91e50.
2024-03-10 23:04:44 -05:00
luigi1111 c12ee59ebd Merge pull request #9125
0c545f6 epee/test: remove levin_protocol_handler and core_proxy tests (jeffro256)
2024-02-24 09:59:50 -05:00
jeffro256 0c545f614a epee/test: remove levin_protocol_handler and core_proxy tests 2024-01-17 17:17:16 -06:00
0xFFFC0000 430b102aef Cleanup scoped_ptr in src/common/dns_utils.cpp and header include:
* No need for entire new class (Fix #8732).
	* Fix stdint.h header include in contrib/epee/include/net/http_base.h.
2023-12-19 16:54:37 +03:30
luigi1111 01ee1682aa Merge pull request #8786
0ae5c91 http_client: reduce number of packets sent for small bodies (jeffro256)
2023-08-17 10:08:29 -05:00
luigi1111 3a72c47445 Merge pull request #8344
70bbd25 core_rpc_server: new file: rpc_ssl.fingerprint (Jeffrey Ryan)
2023-07-06 21:27:16 -05:00
Jeffrey Ryan 70bbd2536b core_rpc_server: new file: rpc_ssl.fingerprint 2023-07-02 19:38:51 -05:00
luigi1111 02ebe9090e Merge pull request #8792
04dfdb3 epee: protect base64_chars, removed dead functions, speed up compile (Jeffro256)
2023-06-27 11:32:07 -05:00
luigi1111 97354d8533 Merge pull request #8731
6c73dc7 properly terminate interrupted TCP connection. fixes #8685 (j-berman)
2023-06-27 11:28:55 -05:00
luigi1111 d79eb9fe3e Merge pull request #8598
4f3a54b Remove invoke function in levin handler (Lee Clagett)
2023-06-27 11:23:45 -05:00
luigi1111 b2d603e61f Merge pull request #8789
df9aa6b epee: remove dead code in net_helper (Jeffro256)
2023-04-25 11:22:50 -04:00
Jeffro256 04dfdb332e epee: protect base64_chars, removed dead functions, speed up compile 2023-03-20 16:02:48 -05:00
jeffro256 0ae5c91e50 http_client: reduce number of packets sent for small bodies 2023-03-19 12:54:14 -05:00
Jeffro256 df9aa6bb04 epee: remove dead code in net_helper 2023-03-19 12:51:27 -05:00
moneromooo-monero ac9a8978ca Revert "epee: when loading a JSON RPC payload, ensure params is an object"
This reverts commit b67e931843.

This turns out to be a bad idea, because we do have weird RPC which
do actually go counter to this
2023-02-07 12:12:02 +00:00
luigi1111 85702d70af Merge pull request #8692
b67e931 epee: when loading a JSON RPC payload, ensure params is an object (moneromooo-monero)
2023-02-06 12:25:13 -05:00
j-berman 6c73dc742e properly terminate interrupted TCP connection. fixes #8685 2023-02-04 22:03:51 +01:00
mj-xmr 5b4fea72cf Copyright: Update to 2023
Co-authored-by: plowsof <plowsof@protonmail.com>
extra files
2023-01-16 13:00:18 +01:00
moneromooo-monero b67e931843 epee: when loading a JSON RPC payload, ensure params is an object
this makes it easier to spot those mistakes by the caller
2023-01-01 10:10:28 +00:00
Jeffrey Ryan ab7102e31f epee: remove dead HTTP code
http_client.h
2022-11-13 20:27:21 -06:00
Lee Clagett 4f3a54b2a0 Remove invoke function in levin handler 2022-09-26 16:47:18 +00:00
luigi1111 e553884d1f Merge pull request #8348
a4cb77f epee: update 'http_server_handlers_map2.h' macros to use fully qualified names (Jeffrey Ryan)
2022-09-09 12:46:39 -05:00
luigi1111 67a27fb384 Merge pull request #8352
552528b Remove async_blocked_mode_client (Jeffrey Ryan)
3ee2174 string_coding: unused functions (Jeffrey Ryan)
285d9f0 http_server_handlers_map2: dead macros (Jeffrey Ryan)
2022-08-22 22:39:34 -05:00
luigi1111 b6a029f222 Merge pull request #8435
cf3be99 Template hash func to fix compiler error on < gcc-6 (j-berman)
2022-07-15 11:43:15 -04:00