SChernykh
d80a06bc8e
Added more error logging
2022-09-08 09:18:30 +02:00
SChernykh
e92cc7d50c
Fix: don't use proxy for incoming connections
2022-09-06 15:59:05 +02:00
SChernykh
989a28a8ca
TCPServer small fixes
2022-09-05 15:14:10 +02:00
SChernykh
86156f3fec
SOCKS5 proxy support
2022-09-03 22:35:38 +02:00
SChernykh
4733d42932
TCPServer: more informative error messages
2022-08-27 10:52:02 +02:00
SChernykh
2e4f7adee4
TCPServer: added more checks during disconnects
2022-07-06 14:17:09 +02:00
SChernykh
8f1fd55e2f
Fixed more memory leaks in TCPServer
2022-06-07 22:25:27 +02:00
SChernykh
8af9e9b27d
Fixed memory leaks
2022-06-07 19:40:13 +02:00
SChernykh
a35d4b2701
Change llhttp to libcurl
2022-06-06 15:08:37 +02:00
SChernykh
cb147773b5
Updated cppcheck workflow on Linux
2022-05-26 21:19:01 +02:00
SChernykh
0e222afd6a
Exit if server startup fails
2022-05-23 15:50:25 +02:00
SChernykh
a4d84e318d
TCPServer: refactored Client constructor
2022-05-09 19:13:34 +02:00
SChernykh
134f2d68a3
Fixed data races
2022-05-09 16:10:55 +02:00
SChernykh
d4e362cd76
TCPServer: optimized Client struct size
2022-05-07 12:35:31 +02:00
SChernykh
1a35177633
Fixed unsafe usage of log::Stream buffers
2022-05-05 14:38:56 +02:00
SChernykh
8f27d940e3
Don't ban localhost
2022-05-03 13:11:55 +02:00
SChernykh
7522111bb7
Fixed data races
2022-04-09 00:38:15 +02:00
SChernykh
a2afa29052
Updated copyright
2022-03-30 14:42:26 +02:00
SChernykh
7ab21c6afd
TCPServer: reduced memory usage
2022-02-23 17:07:50 +01:00
SChernykh
9593311332
Added bans
console command
2022-02-21 19:59:57 +01:00
SChernykh
f082488e4b
TCPServer: use steady_clock for bans
2022-02-21 18:41:36 +01:00
SChernykh
f9def6cb73
Added "calc_pow" RPC support
2021-11-21 09:12:21 +01:00
SChernykh
5dd8d11b72
TCPServer: removed unused field
2021-11-09 15:48:59 +01:00
SChernykh
dff2413cae
TCPServer: make write buffers global
...
Reduced memory usage per connection.
2021-10-31 20:29:35 +01:00
SChernykh
b45540ca08
TCPServer: clean up old IP bans
2021-10-29 14:54:36 +02:00
SChernykh
d26902468d
P2PServer: peer list tweaks
...
- Increase outgoing connections to 10
- Stricter handling of peer list responses
2021-10-21 15:55:00 +02:00
SChernykh
61ac90f1d5
Fixed typo
2021-10-13 14:56:27 +02:00
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