[ruby-cvs:58757] usa:r51609 (ruby_2_1): merge revision(s) 46681, 51464, 51465: [Backport #11058]

usa at ruby-lang.org usa at ruby-lang.org
Mon Aug 17 17:39:22 JST 2015


usa	2015-08-17 17:39:18 +0900 (Mon, 17 Aug 2015)

  New Revision: 51609

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51609

  Log:
    merge revision(s) 46681,51464,51465: [Backport #11058]
    
    * lib/net/http/response.rb (Net::HTTPResponse.each_response_header):
      raise first exception even if inflate_body_io.finish raises error.
      when begin block raises error, finish usually raises error too.
    
    * lib/net/http/response.rb (Net::HTTPResponse#inflater):
      fix TypeError. An exception object might be nil.
      [ruby-core:68846] [Bug #11058]
    
    * lib/net/http/response.rb (Net::HTTPResponse::Inflater#finish):
      fix a bug that empty gzipped response body causes Zlib::BufError.
      [ruby-core:68846] [Bug #11058]
    
    * test/net/http/test_httpresponse.rb: tests for the above.

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/lib/net/http/response.rb
    branches/ruby_2_1/test/net/http/test_httpresponse.rb
    branches/ruby_2_1/version.h


More information about the ruby-cvs mailing list