Board index » delphi » HTTPS over SOCKS Proxy with Indy

HTTPS over SOCKS Proxy with Indy

sorry i forgot. i use delphi6 with indy version 9.0.10.

"FR" <froed...@bis.de> schrieb im Newsbeitrag
news:3e966b11$1@newsgroups.borland.com...

Quote
> Hi,

> i finished an application which is working. the application
> makes post requests over https with ssl version 3.
> now i want to integrate proxy support.
> i use TidHttp with TidSSLIOHandlerSocket. if i
> set the ProxParams in TidHttp everything is working
> fine over HTTP- Proxy. How can i realize a socks
> Proxy. Every attempt not works.

> ....
> http:=TidHTTP.create.....
>     ..set the http Options..
> sslHandler:=TidSSlIOHandlerSocket.create.....
>     ..set the sslHandler Options
> http.IOHandler:=sslHandler

> works over HTTP Proxy
> http.ProxyParams.ProxyPort:=http Proxy Port
> http.ProxyParams.ProxyServer:=http Proxy Server
> ...

> not working over socks Proxy
> tried to set the
> sslHandler.SocksInfo params.

> Thanks for help
> Frank.

 

Re:HTTPS over SOCKS Proxy with Indy


Hi,

i finished an application which is working. the application
makes post requests over https with ssl version 3.
now i want to integrate proxy support.
i use TidHttp with TidSSLIOHandlerSocket. if i
set the ProxParams in TidHttp everything is working
fine over HTTP- Proxy. How can i realize a socks
Proxy. Every attempt not works.

....
http:=TidHTTP.create.....
    ..set the http Options..
sslHandler:=TidSSlIOHandlerSocket.create.....
    ..set the sslHandler Options
http.IOHandler:=sslHandler

works over HTTP Proxy
http.ProxyParams.ProxyPort:=http Proxy Port
http.ProxyParams.ProxyServer:=http Proxy Server
...

not working over socks Proxy
tried to set the
sslHandler.SocksInfo params.

Thanks for help
Frank.

Other Threads