[MacRuby-devel] [MacRuby] #731: uninitialized constant IO::WaitReadable / IO::WaitWritable

MacRuby ruby-noreply at macosforge.org
Wed May 26 07:58:27 PDT 2010


#731: uninitialized constant IO::WaitReadable / IO::WaitWritable
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------
 {{{
 $ macirb
 irb(main):001:0> require 'net/http'
 => true
 irb(main):002:0> Net::HTTP.get('www.apple.com', '/')
 NameError: uninitialized constant IO::WaitReadable
 }}}

 I think that IO::WaitReadable and IO::WaitWritable are not defined.

 {{{
 $ grep "WaitReadable" -r *
 ext/openssl/lib/openssl/buffering.rb:  # IO::WaitReadable or
 IO::WaitWritable.
 ext/openssl/lib/openssl/buffering.rb:  # IO::WaitReadable means SSL needs
 to read internally.
 ext/openssl/lib/openssl/buffering.rb:  #  rescue IO::WaitReadable
 ext/openssl/lib/openssl/buffering.rb:  # IO::WaitReadable or
 IO::WaitWritable.
 ext/openssl/lib/openssl/buffering.rb:  # IO::WaitReadable means SSL needs
 to read internally.
 ext/openssl/lib/openssl/buffering.rb:  #  rescue IO::WaitReadable
 ext/openssl/ossl_ssl.c:        //rb_extend_object(exc, rb_mWaitReadable);
 ext/openssl/ossl_ssl.c: *   rescue IO::WaitReadable
 ext/openssl/ossl_ssl.c: *   rescue IO::WaitReadable
 lib/net/protocol.rb:      rescue IO::WaitReadable

 $ grep "WaitWritable" -r *
 ext/openssl/lib/openssl/buffering.rb:  # IO::WaitReadable or
 IO::WaitWritable.
 ext/openssl/lib/openssl/buffering.rb:  # IO::WaitWritable means SSL needs
 to write internally.
 ext/openssl/lib/openssl/buffering.rb:  #  rescue IO::WaitWritable
 ext/openssl/lib/openssl/buffering.rb:  # IO::WaitReadable or
 IO::WaitWritable.
 ext/openssl/lib/openssl/buffering.rb:  # IO::WaitWritable means SSL needs
 to write internally.
 ext/openssl/lib/openssl/buffering.rb:  #  rescue IO::WaitWritable
 ext/openssl/ossl_ssl.c:        //rb_extend_object(exc, rb_mWaitWritable);
 ext/openssl/ossl_ssl.c: *   rescue IO::WaitWritable
 ext/openssl/ossl_ssl.c: *   rescue IO::WaitWritable
 lib/net/protocol.rb:      rescue IO::WaitWritable
 lib/net/protocol.rb:        # OpenSSL::Buffering#read_nonblock may fail
 with IO::WaitWritable.
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/731>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list