SChernykh
a35d4b2701
Change llhttp to libcurl
2 years ago
SChernykh
cb147773b5
Updated cppcheck workflow on Linux
2 years ago
SChernykh
0e222afd6a
Exit if server startup fails
2 years ago
SChernykh
a4d84e318d
TCPServer: refactored Client constructor
2 years ago
SChernykh
134f2d68a3
Fixed data races
2 years ago
SChernykh
d4e362cd76
TCPServer: optimized Client struct size
2 years ago
SChernykh
1a35177633
Fixed unsafe usage of log::Stream buffers
2 years ago
SChernykh
8f27d940e3
Don't ban localhost
2 years ago
SChernykh
7522111bb7
Fixed data races
2 years ago
SChernykh
a2afa29052
Updated copyright
2 years ago
SChernykh
7ab21c6afd
TCPServer: reduced memory usage
2 years ago
SChernykh
9593311332
Added `bans` console command
2 years ago
SChernykh
f082488e4b
TCPServer: use steady_clock for bans
2 years ago
SChernykh
f9def6cb73
Added "calc_pow" RPC support
3 years ago
SChernykh
5dd8d11b72
TCPServer: removed unused field
3 years ago
SChernykh
dff2413cae
TCPServer: make write buffers global
...
Reduced memory usage per connection.
3 years ago
SChernykh
b45540ca08
TCPServer: clean up old IP bans
3 years ago
SChernykh
d26902468d
P2PServer: peer list tweaks
...
- Increase outgoing connections to 10
- Stricter handling of peer list responses
3 years ago
SChernykh
61ac90f1d5
Fixed typo
3 years ago
SChernykh
14e26f5c17
Fix: always check before closing TCP handles
3 years ago
SChernykh
25772abc0f
Show block share % in status
3 years ago
SChernykh
7b0cc256c5
P2PServer: ban peers that disconnect without finishing handshake
3 years ago
SChernykh
a36825424b
Fixed some Coverity reports
3 years ago
SChernykh
884d0f180a
TCP server: log IP addresses in more places
3 years ago
SChernykh
bab148fbad
Added cppcheck scripts
3 years ago
SChernykh
bb7720968f
Tweaked log levels
3 years ago
SChernykh
81a12158fc
P2PServer: don't add banned peers back to the peer list
3 years ago
SChernykh
f77e0434c6
Fixed TCPServer startup
3 years ago
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
3 years ago
SChernykh
27e85a922b
TCPServer: fixed more leaks on shutdown
3 years ago
SChernykh
fa3146a8f3
Reverted force close TCP connections
3 years ago
SChernykh
230d3e4780
Fixed socket leak after a failed connection
3 years ago
SChernykh
46b7c3e755
TCPServer: stop reading before closing connection
3 years ago
SChernykh
68a4765f95
Force close TCP connections
3 years ago
SChernykh
924fd4b7bd
TCPServer: better tracking of used sockets
3 years ago
SChernykh
a27577f735
Added log level 6 to reduce spam on level 5
...
Log level 5 is still default
3 years ago
SChernykh
90a977228b
Merge pull request #2 from hyc/cmds
...
Tweak command handling
3 years ago
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.
3 years ago
SChernykh
c4d3f6f8b4
Fixed parse_address_list()
3 years ago
SChernykh
df52838433
Removed some noisy warning messages
3 years ago
SChernykh
4a5691e349
clang fixes
3 years ago
SChernykh
510b7dbb85
Add files
3 years ago