lib/celluloid/io/ssl_server.rb in celluloid-io-0.13.0.pre vs lib/celluloid/io/ssl_server.rb in celluloid-io-0.13.0.pre2

- old
+ new

@@ -23,10 +23,10 @@ sock = @tcp_server.accept begin ssl = Celluloid::IO::SSLSocket.new(sock, @ctx) ssl.accept if @start_immediately ssl - rescue SSLError + rescue OpenSSL::SSL::SSLError sock.close raise end end end