mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-15 11:14:24 +01:00
Document downside of socks proxy
This commit is contained in:
@@ -18,7 +18,13 @@ using NBitcoin.Socks;
|
||||
|
||||
namespace BTCPayServer.HostedServices
|
||||
{
|
||||
// Our implementation follow https://devblogs.microsoft.com/dotnet/system-io-pipelines-high-performance-io-in-net/
|
||||
|
||||
/// <summary>
|
||||
/// This is a very simple Socks HTTP proxy, that can be used through HttpClient.WebProxy
|
||||
/// However, it only supports a single request/response, so the client must specify Connection: close to not
|
||||
/// reuse the TCP connection to the proxy for another requests.
|
||||
/// Inspired from https://devblogs.microsoft.com/dotnet/system-io-pipelines-high-performance-io-in-net/
|
||||
/// </summary>
|
||||
public class Socks5HttpProxyServer : IHostedService
|
||||
{
|
||||
class ProxyConnection
|
||||
|
||||
Reference in New Issue
Block a user