swift-server / async-http-client

HTTP client library built on SwiftNIO
https://swiftpackageindex.com/swift-server/async-http-client/main/documentation/asynchttpclient
Apache License 2.0
912 stars 117 forks source link

How to initiate a request using a socks5 proxy with authentication? #750

Open ljh740 opened 2 months ago

ljh740 commented 2 months ago

ex: user:pwd@127.0.0.1:10086 type: socks5

Proxy.socksServer(host: "127.0.0.1", port: 10086)

Unable to set authentication information

Lukasa commented 2 months ago

Async HTTP Client doesn't currently support SOCKS5 authentication, because the upstream SOCKS support doesn't either. We'd need a fix upstream to add that support before we could add it here.

ljh740 commented 2 months ago

Async HTTP Client doesn't currently support SOCKS5 authentication, because the upstream SOCKS support doesn't either. We'd need a fix upstream to add that support before we could add it here.

Any plans to update it in the near future?

Lukasa commented 2 months ago

I don't believe we have any plans to, but you'd be welcome to file an issue or tackle it yourself! We'd happily review any changes needed.