Skip to content

Commit e16f765

Browse files
committed
merge revision(s) 44637: [Backport ruby#9385]
* lib/open-uri.rb: Make proxy disabling working again. Fixed by Christophe Philemotte. [ruby-core:59650] [Bug ruby#9385] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@45125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 5d59efc commit e16f765

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Sat Feb 22 17:46:32 2014 Tanaka Akira <[email protected]>
2+
3+
* lib/open-uri.rb: Make proxy disabling working again.
4+
Fixed by Christophe Philemotte. [ruby-core:59650] [Bug #9385]
5+
16
Sat Feb 22 17:33:39 2014 Nobuyoshi Nakada <[email protected]>
27

38
* eval.c (rb_mod_s_constants): return its own constants for other

lib/open-uri.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def OpenURI.open_http(buf, target, proxy, options) # :nodoc:
288288
end
289289
end
290290

291-
http = klass.new(target_host, target_port)
291+
http = proxy ? klass.new(target_host, target_port) : klass.new(target_host, target_port, nil)
292292
if target.class == URI::HTTPS
293293
require 'net/https'
294294
http.use_ssl = true

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define RUBY_VERSION "2.1.1"
22
#define RUBY_RELEASE_DATE "2014-02-22"
3-
#define RUBY_PATCHLEVEL 69
3+
#define RUBY_PATCHLEVEL 70
44

55
#define RUBY_RELEASE_YEAR 2014
66
#define RUBY_RELEASE_MONTH 2

0 commit comments

Comments
 (0)