Added support for proxy environment variables (http_proxy and https_proxy) #6

Open
wants to merge 2 commits into
from

Projects

None yet

1 participant

@mfojtik
mfojtik commented Jun 3, 2011

Enable support for proxyfied environments to use AWS gem:

export https_proxy="10.0.0.1:3128"

Initiate request via AWS gem and you should see:

I, [2011-06-03T13:58:01.873547 #30152] INFO -- : New Aws::Ec2 using per_thread-connection mode
I, [2011-06-03T13:58:01.874218 #30152] INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443
I, [2011-06-03T13:58:01.874404 #30152] INFO -- : Using 10.34.37.122:3128 proxy for connection

PS: Sorry for a new pull request, I had a typo in https ;-)

@mfojtik
mfojtik commented Jun 14, 2011

any chance to pull this and bump gem version? :)

@mfojtik
mfojtik commented Oct 17, 2011

ping?

@mfojtik
mfojtik commented Jan 18, 2012

ping #2 ? :-)

@mfojtik

this typo was resolved in the next commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment