From: Brian Candler Date: 2011-02-24T07:28:30+09:00 Subject: Re: My OpenSSL server crashes I don't really have a solution to the problem, although you could get rid of SSLServer and just do it directly: while conn = server_socket.accept Thread.new(conn) do |c| s = OpenSSL::SSL::SSLSocket.new(c, context) s.sync_close = true s.accept ... etc end end However that's pretty much all that SSLServer#accept does anyway, so I'm not sure it will solve anything. It might give a clearer picture of where the error is though (e.g. corrupt SSL context? You could try making a fresh one for each iteration) -- Posted via http://www.ruby-forum.com/.