SChernykh
a35d4b2701
Change llhttp to libcurl
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
7522111bb7
Fixed data races
2 years ago
SChernykh
a2afa29052
Updated copyright
2 years ago
SChernykh
e7919514d4
TCPServer: fixed uninitialized variables
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
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
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
8e29abd906
Small fixes
3 years ago
SChernykh
81a12158fc
P2PServer: don't add banned peers back to the peer list
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
510b7dbb85
Add files
3 years ago