зеркало из https://github.com/github/ruby.git
* lib/net/http/response.rb (Net::HTTPResponse#inflater):
fix TypeError. An exception object might be nil. [ruby-core:68846] [Bug #11058] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
35a76874db
Коммит
d7bb66df26
|
@ -1,3 +1,9 @@
|
|||
Sat Aug 1 17:05:18 2015 Kazuki Tsujimoto <kazuki@callcc.net>
|
||||
|
||||
* lib/net/http/response.rb (Net::HTTPResponse#inflater):
|
||||
fix TypeError. An exception object might be nil.
|
||||
[ruby-core:68846] [Bug #11058]
|
||||
|
||||
Sat Aug 1 09:09:46 2015 Aaron Patterson <tenderlove@ruby-lang.org>
|
||||
|
||||
* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): Implement
|
||||
|
|
|
@ -260,11 +260,11 @@ class Net::HTTPResponse
|
|||
begin
|
||||
yield inflate_body_io
|
||||
ensure
|
||||
e = $!
|
||||
orig_err = $!
|
||||
begin
|
||||
inflate_body_io.finish
|
||||
rescue
|
||||
raise e
|
||||
rescue => err
|
||||
raise orig_err || err
|
||||
end
|
||||
end
|
||||
when 'none', 'identity' then
|
||||
|
|
Загрузка…
Ссылка в новой задаче