selsta
ec60113e09
p2p: make stop signal idempotent
2026-06-01 19:22:26 +02:00
jeffro256 and selsta
98b350f7a1
contrib: fix unaligned&aliased levin buffer reads
...
Co-authored-by: selsta <selsta@users.noreply.github.com >
2026-05-21 21:19:31 -05:00
iuyua9 and iuyua9
2a6f64d8fa
epee: skip IPv4 TOS option for non-IPv4 peers
2026-05-14 17:40:26 +08:00
j-berman
bf314b7ab1
p2p: wait_for on shutdown instead of indefinite wait
2026-04-28 16:21:53 -07:00
j-berman
14e333217e
connection: try-catch handles
2026-04-21 12:01:48 -07:00
j-berman
7bc2d5a42e
p2p: fix hanging shutdown
2026-04-04 15:02:49 -07:00
Lee *!* Clagett
017c9022d7
Cleanup some of the fragmented levin handling
2026-03-31 14:50:35 -04:00
selsta
f60b400917
abstract_tcp_server2: add missing return
2026-03-27 00:42:07 +01:00
j-berman
ee9e4a49ba
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-02-02 10:22:41 -08:00
tobtoht
7baf2bde6e
epee: add missing cstdint include
2025-12-11 10:43:33 +01:00
Lee *!* Clagett
e23b759b37
Skip ping connections in outgoing count
2025-08-19 17:16:05 -04:00
Lee *!* Clagett
9f3d96eba6
Add check for exception in tcp accept handler
2025-06-12 17:48:49 -04:00
Lee *!* Clagett
4acc0ea41f
Limit scope of TCP checks to incoming only
2025-02-26 13:09:20 -05:00
Lee *!* Clagett
01bcd52924
Fix build with boost ASIO 0.87. Support boost 1.66+
2025-02-14 13:29:57 -05:00
Lee *!* Clagett
13ff355cf6
Set response limits on http server connections
2025-02-14 00:21:05 -05:00
Jeffrey Ryan and Lee *!* Clagett
89fa3ed68a
epee: update 'http_server_handlers_map2.h' macros to use fully qualified names
...
quick patch which fixes the issue where if you use some macros from `http_server_handlers_map2.h` you have to be in the `epee` namespace or it doesn't compile. Now can remove `using namespace epee;` from header file `core_rpc_server.h`, which caused a couple of name qualifying mistakes
2025-02-13 16:24:48 -05:00
tobtoht
00e582a2b1
Merge pull request #9460
...
0cd74568d Cleanup TCP throttling code (performance) + move connection checks (Lee *!* Clagett)
2025-01-22 22:47:10 +00:00
Lee *!* Clagett
0cd74568d6
Cleanup TCP throttling code (performance) + move connection checks
2024-12-19 20:54:22 -05:00
0xFFFC0000 and Boog900
13df862535
contrib: force (de)serialization to create params section incase there is none.
...
Co-authored-by: Boog900 <boog900@tutanota.com >
2024-12-13 19:49:55 +00:00
jeffro256
c7cf489585
Revert "http_client: reduce number of packets sent for small bodies"
...
This reverts commit e0b2123c32 .
2024-03-10 23:08:17 -05:00
jeffro256
e0b2123c32
http_client: reduce number of packets sent for small bodies
2023-10-15 01:33:38 -05:00
j-berman and selsta
438554e1ab
properly terminate interrupted TCP connection. fixes #8685
2023-06-09 21:11:13 +02: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
j-berman
cf3be9926f
Template hash func to fix compiler error on < gcc-6
2022-07-13 22:44:43 -07:00
j-berman
a82fba4b7b
address PR comments
2022-07-08 15:10:03 -07:00
anon and j-berman
3be1dbd096
connection: fix implementation
2022-07-05 22:33:34 -07:00
luigi1111
9e71901346
Merge pull request #8301
...
6ef945d Doxygen: Hide anonymous namespaces from documentation by default (Jeffrey)
2022-05-10 16:55:36 -05:00
luigi1111
7cdbd25042
Merge pull request #8279
...
f7d50cb EPEE: Remove gzip_encoding.h (Jeffrey)
2022-05-10 16:50:17 -05:00
Jeffrey
6ef945d9a5
Doxygen: Hide anonymous namespaces from documentation by default
...
Bonus: little doc fix for net_ssl.h
2022-04-28 19:35:49 -05:00
Jeffrey
f7d50cbaa8
EPEE: Remove gzip_encoding.h
2022-04-22 14:32:56 -05:00
moneromooo-monero
9209880e9c
add a sanity check to RPC input data size
...
reported by m31007
2022-04-21 22:22:56 +00:00
Jeffrey
b49ed59166
Remove the only 4 non-UTF8 characters in codebase
...
Relevant commit in old PR:
1b798a7042
2022-04-18 09:55:21 -05:00
Jeffrey
801568d0c6
Refactor out to_nonconst_iterator.h
...
Relevant commit on old PR:
2499269696
2022-04-18 09:55:21 -05:00
Jeffrey
87ec36cacf
Refactor out pragma_comp_defs
...
Relevant commits on the old cleanup PR:
36933c7f5c
21e43de0f3
3c678bb1ce
2022-04-18 09:55:21 -05:00
Jeffrey
441c860738
Merge functionality of misc_os_dependent into time_helper.h
...
Actions:
1. Remove unused functions from misc_os_dependent.h
2. Move three remaining functions, get_gmt_time, get_ns_count, and get_tick_count into time_helper.h
3. Remove unused functions from time_helper.h
4. Refactor get_ns_count and get_internet_time_str and get_time_interval_string
5. Remove/add includes as needed
Relevant commits on the old PR:
a9fbe52b02
9a59b131c4
7fa9e2817d
2022-04-18 09:55:21 -05:00
Jeffrey
12b1b74d32
Trimming Fat
...
Remove unused include statements or unused definitions.
2022-04-18 09:55:20 -05:00
Jeffrey
690ce560b0
Boring Old Deletes
...
Here lies dozens of unused files. This commit is ONLY file deletions except
for the removing of a couple of #includes and removing filenames from CmakeLists
where appropriate.
2022-04-18 09:55:20 -05:00
luigi1111
bb093ec9a8
Merge pull request #8223
...
17772ef Eliminate dependence on boost::interprocess #8223 (Jeffrey)
2022-04-06 00:19:59 -04:00
luigi1111
0eb1b570b6
Merge pull request #8197
...
da9aa1f Copyright: Update to 2022 (mj-xmr)
2022-04-06 00:08:53 -04:00
Jeffrey
17772ef53e
Eliminate dependence on boost::interprocess #8223
...
In this repo, `boost::interprocess` was being used soley to make `uint32_t` operations atomic. So I replaced each instance of
`boost::interprocess::ipcdetail::atomic(...)32` with `std::atomic` methods. I replaced member declarations as applicable. For example,
when I needed to change a `volatile uint32_t` into a `std::atomic<uint32_t>`. Sometimes, a member was being used a boolean flag, so
I replaced it with `std::atomic<bool>`.
You may notice that I didn't touch `levin_client_async.h`. That is because this file is entirely unused and will be deleted in PR monero-project#8211.
Additional changes from review:
* Make some local variables const
* Change postfix operators to prefix operators where value was not need
2022-03-30 13:18:32 -05:00
mj-xmr
da9aa1f7f8
Copyright: Update to 2022
2022-03-04 06:59:20 +01:00
SChernykh
f68f92776b
Undefined behaviour fixes
...
Fixes issues reported in #8120
2022-02-19 10:17:53 +01:00
woodser
ec6b4cf9e1
support cors wildcard
2021-08-20 14:17:51 -04:00
moneromooo-monero
7354ffb8a7
p2p: remove blocked addresses/hosts from peerlist
2021-08-05 17:29:25 +00:00
luigi1111
0a1ddc2eff
Merge pull request #7669
...
679d055 Remove payload copy in all outgoing p2p messages (Lee Clagett)
2021-04-22 01:51:01 -04:00
mj-xmr
dc81e23e60
Split epee/string_tools.h and encapsulate boost::lexical_cast
2021-04-16 20:54:20 +02:00
luigi1111
e45619e61e
Revert "Merge pull request #7136 "
...
This reverts commit 63c7ca07fb , reversing
changes made to 2218e23e84 .
2021-04-16 13:52:44 -05:00
luigi1111
63c7ca07fb
Merge pull request #7136
...
23aae55 Remove payload copy in all outgoing p2p messages (Lee Clagett)
2021-04-16 12:45:30 -05:00
luigi1111
a2b046dafc
Merge pull request #7460
...
2935a0c async_protocol_handler_config: fix deadlock (anon)
c877705 async_protocol_handler_config: add deadlock demo (anon)
2021-03-29 21:46:29 -04:00
luigi1111
602926fe9d
Merge pull request #7366
...
9867a91 Store RPC SSL key/cert for consistent authentication between runs (Lee Clagett)
2021-03-20 01:38:03 -04:00