#215: OpenSSL's SSLSocket appears not to be initialised correctly
-------------------------------+--------------------------------------------
 Reporter:  cel...@…           |       Owner:  lsansone...@…        
     Type:  defect             |      Status:  new                  
 Priority:  major              |   Milestone:                       
Component:  MacRuby            |    Keywords:  openssl              
-------------------------------+--------------------------------------------

Comment(by cel...@…):

 The issue causing the bug was due to '''rb_fdset_t'''s being allocated on
 the stack in '''rb_io_wait_readable'''. It appeared Ruby's autozone thing
 had a fit. I notice this was discussed in #160.

 I'm attached a diff for fixing this and OpenSSL's issues:
  1. '''rb_io_wait_readable''' and '''rb_io_wait_writable''' (for
 completeness) now allocate their fdsets on the heap (fixes autozone bug)
  2. '''SSLSocket#initialize''' is moved to Ruby code (but where to put the
 rdoc?)

 Let me know what you think.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/215#comment:3>
MacRuby <http://macruby.org/>

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to