Added support for proxy environment variables (http_proxy and https_proxy) #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 ;-)