From: Dan Schmidt Date: 2000-09-22T00:10:04+09:00 Subject: [ruby-talk:5048] Re: Having problems with Net::HTTP::do_finish Minero Aoki writes: | This bug is resolved now. | Attaching patch may help. (a patch for 1.6.0's http.rb) Thank you! This patch fixes my problem. I did have some problems applying the patch. The only one that is important is this part: | @@ -351,12 +381,7 @@ | end | | resp = yield( u_header ) | - if ublock then | - adapter = HTTPReadAdapter.new( @command ) | - ublock.call adapter | - resp = adapter.off | - end | - | + | unless keep_alive? u_header, resp then | @socket.close | end This block of code does not exist in http.rb 1.1.28 found in Ruby 1.6.0; there is this instead: yield( u_header ) if ublock then adapter = HTTPReadAdapter.new( @command ) ublock.call adapter resp = adapter.off else resp = @command.get_response end But I made the change to the new code manually and it worked. Thanks again. -- Dan Schmidt | http://www.dfan.org Honest Bob CD now available! | http://www.dfan.org/honestbob/cd.html