SChernykh
14e26f5c17
Fix: always check before closing TCP handles
2021-09-13 19:11:59 +02:00
SChernykh
25772abc0f
Show block share % in status
2021-09-07 09:53:38 +02:00
SChernykh
7b0cc256c5
P2PServer: ban peers that disconnect without finishing handshake
2021-09-06 16:17:20 +02:00
SChernykh
a36825424b
Fixed some Coverity reports
2021-09-06 09:02:35 +02:00
SChernykh
884d0f180a
TCP server: log IP addresses in more places
2021-09-05 20:21:33 +02:00
SChernykh
bab148fbad
Added cppcheck scripts
2021-09-02 12:35:36 +02:00
SChernykh
bb7720968f
Tweaked log levels
2021-08-29 19:20:36 +02:00
SChernykh
81a12158fc
P2PServer: don't add banned peers back to the peer list
2021-08-27 16:36:06 +02:00
SChernykh
f77e0434c6
Fixed TCPServer startup
2021-08-27 00:19:01 +02:00
SChernykh
3f1ee9ce4b
TCPServer fixes
...
- Proper shutdown sequence, uv_close() must be called from the event loop thread
- Moved start_listening() to child class constructor because it must be ready before it can listen on sockets
- Added simple memory leak detector for Windows. Linux users can enjoy the leak sanitizer
2021-08-26 23:57:59 +02:00
SChernykh
27e85a922b
TCPServer: fixed more leaks on shutdown
2021-08-26 19:14:04 +02:00
SChernykh
fa3146a8f3
Reverted force close TCP connections
2021-08-25 17:27:46 +02:00
SChernykh
230d3e4780
Fixed socket leak after a failed connection
2021-08-25 17:18:59 +02:00
SChernykh
46b7c3e755
TCPServer: stop reading before closing connection
2021-08-25 16:19:21 +02:00
SChernykh
68a4765f95
Force close TCP connections
2021-08-25 14:53:45 +02:00
SChernykh
924fd4b7bd
TCPServer: better tracking of used sockets
2021-08-25 13:58:00 +02:00
SChernykh
a27577f735
Added log level 6 to reduce spam on level 5
...
Log level 5 is still default
2021-08-25 09:38:47 +02:00
SChernykh
90a977228b
Merge pull request #2 from hyc/cmds
...
Tweak command handling
2021-08-24 14:37:03 +03:00
Howard Chu
0dc3baa480
Tweak command handling
...
Modularize, add help and exit commands.
Fix shutdown_tcp() and p2pool to make sure servers exit immediately
when terminating.
2021-08-24 11:55:59 +01:00
SChernykh
c4d3f6f8b4
Fixed parse_address_list()
2021-08-23 22:24:26 +02:00
SChernykh
df52838433
Removed some noisy warning messages
2021-08-23 14:05:07 +02:00
SChernykh
4a5691e349
clang fixes
2021-08-23 11:31:16 +02:00
SChernykh
510b7dbb85
Add files
2021-08-22 12:20:59 +02:00