[ruby-core:83042] [Ruby trunk Feature#8771][Closed] Start does not use proxy configuration form ENV variables

From: naruse@...
Date: 2017-09-28 07:26:21 UTC
List: ruby-core #83042
Issue #8771 has been updated by naruse (Yui NARUSE).

Tracker changed from Bug to Feature
Status changed from Rejected to Closed
ruby -v deleted (2.1.0dev)
Backport deleted (1.9.3: UNKNOWN, 2.0.0: UNKNOWN)

Implemented as r58798

----------------------------------------
Feature #8771: Start does not use proxy configuration form ENV variables
https://bugs.ruby-lang.org/issues/8771#change-66961

* Author: sjltaylor (Sam Taylor)
* Status: Closed
* Priority: Normal
* Assignee: naruse (Yui NARUSE)
* Target version: 2.1.0
----------------------------------------
=begin
* Start a fake proxy in a separate window: (({nc -l 8089}))
* (({export http_proxy=http://localhost:8089}))
* (({irb -r net/http}))
* (({Net::HTTP.start('google.com').get('/')}))
* Note that the above http request was not proxied using the environment configuration
* (({Net::HTTP.new('google.com').get('/')})) exhibits the correct behaviour, the proxied HTTP request can be seen in the nc output
=end

---Files--------------------------------
378.patch (3.07 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next