selsta
b3aca5f53f
tests: fix epee connection lifetime race
...
The lifetime test waited only for the client-side socket count to
reach zero before reconnecting. Because server-side inbound connections
are tracked separately, they may still be tearing down asynchronously,
causing the next connection attempt to fail with ECONNRESET on macOS.
Wait for both client and server connection accounting to drain before
the next reconnect. Also use the error_code connect overload so failures
are reported by gtest instead of escaping as uncaught Boost exceptions.
2026-07-08 21:10:40 +02:00
Thomas
02db831d01
Fix spelling typos
2026-06-18 09:30:42 +02:00
selsta
f2afe976c7
p2p: close zone connections before stopping net servers
2026-06-03 12:16:02 +02:00
Lee Clagett
6825fb4a4e
Fix boosted_tcp_server.shutdown test (asan issue)
2026-05-14 22:33:53 -04:00
j-berman
742c62928a
p2p: fix hanging shutdown
2026-03-25 13:27:44 -07:00
Lee *!* Clagett
44869250bd
Transition asio::deadline_timer to asio::steady_timer
2026-02-17 11:28:57 -05:00
Lee *!* Clagett
4344f97255
Fix build with boost ASIO 1.87. Support boost 1.66+
2025-01-06 18:05:25 -05:00
tobtoht
ced5b040d5
tests: fix missing <thread> includes
2024-10-22 19:44:31 +02:00
copyCat
341771ac3e
copyright: bump to 2024
2024-05-21 16:29:33 +00:00
mj-xmr and mj-xmr
5b4fea72cf
Copyright: Update to 2023
...
Co-authored-by: plowsof <plowsof@protonmail.com >
extra files
2023-01-16 13:00:18 +01:00
Lee Clagett
3987827517
Fix shared_ptr cycle in test_epee_connection.test_lifetime
2022-08-26 20:12:13 -04:00
j-berman
a82fba4b7b
address PR comments
2022-07-08 15:10:03 -07:00
anon and j-berman
724ff21447
connection: add segfault and deadlocks demo
2022-07-05 22:31:26 -07:00
mj-xmr
da9aa1f7f8
Copyright: Update to 2022
2022-03-04 06:59:20 +01:00
anon
9c8e3e832e
unit_tests: fix broken tests
...
boosted_tcp_server: check condition before sleep too
cryptonote_protocol_handler: each instance of BlockchainLMDB requires separate thread due to private thread local fields
2021-07-28 13:38:24 +00:00
selsta
3cc4428d45
clang: fix -Wpessimizing-move warning
2021-04-28 11:33:37 +02:00
Lee Clagett
679d05567d
Remove payload copy in all outgoing p2p messages
2021-01-19 02:22:32 +00: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
anon
c877705a53
async_protocol_handler_config: add deadlock demo
2021-03-12 11:59:06 +00:00
anon
1b51d398fb
async_protocol_handler_config: add segfault demo
2021-02-19 22:27:28 +00:00
anon and selsta
3833624ab1
boosted_tcp_server: add segfault demo
2021-01-19 18:15:30 +01:00
Lee Clagett
23aae5571b
Remove payload copy in all outgoing p2p messages
2021-01-16 22:53:28 +00:00
SomaticFanatic
5ef0607da6
Update copyright year to 2020
...
Update copyright year to 2020
2020-05-06 22:36:54 -04:00
binaryFate
1f2930ce0b
Update 2019 copyright
2019-03-05 22:05:34 +01:00
xmr-eric
18216f19dd
Update 2018 copyright
2018-01-26 10:03:20 -05:00
Riccardo Spagni
c3599fa7b9
update copyright year, fix occasional lack of newline at line end
2017-02-21 19:38:18 +02:00
Lee Clagett
2cde2c02ca
switch to boost::thread for mingw build
2017-02-16 20:10:23 -05:00
moneromooo-monero
f7301c3563
Revert "Print stack trace upon exceptions"
...
Ain't nobody got time for link/cmake skullduggery.
This reverts commit fff238ec94 .
2016-03-21 10:12:23 +00:00
moneromooo-monero
fff238ec94
Print stack trace upon exceptions
...
Useful for debugging users' logs
2016-03-19 21:48:36 +00:00
Riccardo Spagni
de03926850
updated copyright year
2015-12-31 08:39:56 +02:00
rfree2monero and rfree2
32c19c6c3d
[fix] log level change. compilation: dns, tests
...
old unbound #warning does not block compilation
unit tests build fine. Even though the RPC/P2P network type is required again
2015-04-10 16:54:21 +02:00
Riccardo Spagni
f4b69d553a
year updated in license
2015-01-02 18:52:46 +02:00
fluffypony
6fc995fe5d
License updated to BSD 3-clause
2014-07-23 15:03:52 +02:00
Antonio Juarez
296ae46ed8
moved all stuff to github
2014-03-03 22:07:58 +00:00