Delphi INDY + SSL + Socks - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Indy (https://www.atozed.com/forums/forum-8.html) +--- Forum: Indy General Discussion (https://www.atozed.com/forums/forum-9.html) +--- Thread: Delphi INDY + SSL + Socks (/thread-849.html) |
Delphi INDY + SSL + Socks - evgenij-evgenij-89 - 11-29-2018 There is a problem: When using a Socks4 proxy is not running https, the redirect goes to http. Libraries are, uses are connected. Code: var If you remove the socks4, then all is well: RE: Delphi INDY + SSL + Socks - rlebeau - 11-29-2018 Copied from my comment to your same question on StackOverflow: Quote:You are not supposed to set PassThrough manually when using TIdHTTP. You are trying to force SSL on the connection to the proxy server, before it has connected to the HTTP server. Let TIdHTTP manage PassThrough for you. It will initialize SSL after connecting to the proxy. |