SChernykh
8a222d5e75
TCPServer: check if loop thread is running before waiting for it
2023-05-01 20:13:57 +02:00
SChernykh
c94b627808
TCPServer: use /64 prefix to ban IPv6 peers
2023-04-27 10:28:32 +02:00
SChernykh
6e258bb210
Refactored TCPServer to reduce code duplication
2023-04-19 16:37:32 +02:00
SChernykh
196b27f3b2
Console: read commands via localhost TCP
2023-04-18 16:19:12 +02:00
SChernykh
8420f5f1b1
TCPServer: reduced write buffer reallocations
2023-04-17 16:22:46 +02:00
SChernykh
d41a441e98
UPnP: remove port mapping on shutdown
2023-03-21 10:23:17 +01:00
SChernykh
19cc044cab
Added UPnP port forwarding
2023-03-19 23:02:09 +01:00
SChernykh
2807f9a51c
TCPServer: disabled debug check in release builds
2023-02-27 19:14:03 +01:00
SChernykh
12a011a9ff
TCPServer: removed unnecessary mutex
2023-02-27 15:59:42 +01:00
SChernykh
1c908c261d
TCPServer: refactored memory allocation
2023-02-17 08:47:52 +01:00
SChernykh
f5ac485ac8
TCPServer: optimized internal write buffers
2023-01-20 17:03:59 +01:00
SChernykh
b346b93285
Updated copyright
2023-01-04 13:07:55 +01:00
SChernykh
65a9574e52
Added --p2p-external-port
command line parameter
2022-10-28 14:06:26 +02:00
SChernykh
d081c8ea74
TCPServer: fixed data race during shutdown
2022-10-18 18:41:58 +02:00
SChernykh
fd6b2360aa
Fix: uv_close was called from wrong thread
2022-10-07 16:02:08 +02:00
SChernykh
f813cf6d36
Fix: possible use after free on shutdown
...
Console commands could access destroyed objects
2022-09-08 16:16:00 +02:00
SChernykh
86156f3fec
SOCKS5 proxy support
2022-09-03 22:35:38 +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
a35d4b2701
Change llhttp to libcurl
2022-06-06 15:08:37 +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
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
e7919514d4
TCPServer: fixed uninitialized variables
2022-02-25 15:31:35 +01: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
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
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
8e29abd906
Small fixes
2021-08-29 00:13:53 +02:00
SChernykh
81a12158fc
P2PServer: don't add banned peers back to the peer list
2021-08-27 16:36:06 +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
510b7dbb85
Add files
2021-08-22 12:20:59 +02:00