[#4766] Wiki — "Glen Stampoultzis" <trinexus@...>

21 messages 2000/09/04
[#4768] RE: Wiki — "NAKAMURA, Hiroshi" <nahi@...> 2000/09/04

Hi, Glen,

[#4783] Re: Wiki — Masatoshi SEKI <m_seki@...> 2000/09/04

[#4785] Re: Wiki — "NAKAMURA, Hiroshi" <nakahiro@...> 2000/09/05

Howdy,

[#4883] Re-binding a block — Dave Thomas <Dave@...>

16 messages 2000/09/12

[#4930] Perl 6 rumblings -- RFC 225 (v1) Data: Superpositions — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/09/15

[#4936] Ruby Book Eng. translation editor's questions — Jon Babcock <jon@...>

20 messages 2000/09/16

[#5045] Proposal: Add constants to Math — Robert Feldt <feldt@...>

15 messages 2000/09/21

[#5077] Crazy idea? infix method calls — hal9000@...

This is a generalization of the "in" operator idea which I

17 messages 2000/09/22

[#5157] Compile Problem with 1.6.1 — Scott Billings <aerogems@...>

When I try to compile Ruby 1.6.1, I get the following error:

15 messages 2000/09/27

[ruby-talk:5048] Re: Having problems with Net::HTTP::do_finish

From: Dan Schmidt <dfan@...>
Date: 2000-09-21 15:10:04 UTC
List: ruby-talk #5048
Minero Aoki <aamine@dp.u-netsurf.ne.jp> 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

In This Thread

Prev Next