Due to Vulnerability Note VU#797896, the environment variable HTTP_PROXY may be tainted and cannot be use when in a CGI environment.
In LWP::UserAgent the variable HTTP_PROXY is overridden by CGI_HTTP_PROXY.
This is a patch to support the same architecture in HTTP:Tiny. Otherwise there is no easy way to proxy HTTP traffic under CGI differently than HTTPS traffic. The current work around is to set ALL_PROXY but that impacts HTTPS traffic proxy capabilities.
Due to Vulnerability Note VU#797896, the environment variable HTTP_PROXY may be tainted and cannot be use when in a CGI environment.
In LWP::UserAgent the variable HTTP_PROXY is overridden by CGI_HTTP_PROXY.
This is a patch to support the same architecture in HTTP:Tiny. Otherwise there is no easy way to proxy HTTP traffic under CGI differently than HTTPS traffic. The current work around is to set ALL_PROXY but that impacts HTTPS traffic proxy capabilities.