chained proxy in delphi -


i read chaining proxies , wanted try in delphi, played around indy tidhttp component , couldnt figure out how it, need 2 tidhttp components? maybe 1 sends request another?

  http1.proxyparams.proxyport := port1;   http1.proxyparams.proxyserver := server1;    http2.proxyparams.proxyport := port2;   http2.proxyparams.proxyserver := server2; 

i want send simple get/post chained proxies.

is doable? or there other component me task?

thank you.

the tidhttp.proxyparams property not support chaining.

to use chained proxies, need to:

  1. assign tidiohandlersocket-derived component tidhttp.iohandler property. either:

    a. tidiohandlerstack, indy's standard tcp/ip implementation.

    b. tidssliohandlersocketbase-derived component, such tidssliohandlersocketopenssl. must use if want work https urls.

  2. assign tidcustomtransparentproxy-derived component iohandler's transarentproxy property. indy provides 2 such components default:

    a. tidsocksinfo, implements socks 4/4a/5 protocols.

    b. tidconnectthroughhttpproxy, implements http connect verb.

  3. chain multiple tidcustomtransparentproxy-derived components via tidcustomtransparentproxy.chainedproxy property.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -