[MacRuby-devel] [MacRuby] #215: OpenSSL's SSLSocket appears not to be initialised correctly

MacRuby ruby-noreply at macosforge.org
Mon Jan 26 05:57:25 PST 2009


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

Comment(by celtic@…):

 Thanks in kind. :-) This looks like a great project, would love to help it
 along as much as I can.

 I've uploaded a new diff with test coverage. It turns out that
 rb_io_wait_readable is incredibly hard to call from Ruby-world - depending
 on a certain situation with sockets which seems pretty difficult to re-
 create in a testing environment. Hence, I've added a CCompiler class,
 styled from the ObjectiveC helper class.

 I would've done the obvious thing and used fork in openssl_test and watch
 the subprocess die, but it seems the the subprocess of a fork always
 segfaults on exit. I'll add a new ticket for that momentarily.

 As for the initialize bug, I think this is something I'll definitely look
 into soon.

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



More information about the MacRuby-devel mailing list