in reply to Re: Using LWP through a proxy for HTTPS
in thread Using LWP through a proxy for HTTPS

That code does not go through the proxy server for the https request; it creates a direct request to https://www.etrade.com.
  • Comment on Re^2: Using LWP through a proxy for HTTPS

Replies are listed 'Best First'.
Re^3: Using LWP through a proxy for HTTPS
by hsinclai (Deacon) on Oct 20, 2004 at 03:22 UTC
    Really? It went right through my proxy - here's the squid access log snippet from earlier tonight

    1098222710.053 224973 1.2.3.4 TCP_MISS/200 1234 CONNECT www.etrade.com +:443 - DIRECT/12.153.224.22 - 1098222710.055 225359 1.2.3.4 TCP_MISS/200 25854 CONNECT www.etrade.co +m:443 - DIRECT/12.153.224.22 -
    1.2.3.4 is my source IP.
    I watched the requests go through at perl -e ' print scalar localtime(1098222710);'.. am I missing something?
      Strange, I can set the proxy to any non-existant address and the code still works. Perhaps you have $ENV{HTTPS_PROXY} set, which, incidentally, is a solution I recently unearthed to my original question.