1. custom proxy = perl HTTP::Proxy
2. Squid used for roundrobin traffic between 10 external proxy servers.
3. System:
clients<->HTTP::Proxy<->SQUID<-ROUND_ROBIN->External Proxy servers (Parent-proxies 1...10)
.Problem resides here clients<->HTTP::Proxy
If one of external parent proxy is dead, repeat request through another external parent proxy. Some clients can't follow redirects, so the solution as (far as I can say, but it's may be wrong) is to return content with LWPUserAgent for example, and write it to the "appropriate" connection (from a client to a custom proxy, it can be identified by port, while it's open). I have a working code it's working for redirection, but since not all clients can follow it I have no choice but try to do this thing.In reply to Re^2: Http connection manipulations
by kazak
in thread Http connection manipulations
by kazak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |