Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
Fixes focusing on getting jruby to pass.
Browse files Browse the repository at this point in the history
  • Loading branch information
//de committed Mar 24, 2015
1 parent 3909420 commit c75c2da
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/reel/server/https.rb
Expand Up @@ -51,8 +51,11 @@ def run
socket = @server.accept
rescue OpenSSL::SSL::SSLError, Errno::ECONNRESET, Errno::EPIPE,
Errno::ETIMEDOUT, Errno::EHOSTUNREACH, IOError, EOFError => ex
Logger.warn "Error accepting SSLSocket: #{ex.class}: #{ex.to_s}"
retry #de next
# Not ideal, but works for now:
unless defined? JRUBY_VERSION
Logger.warn "Error accepting SSLSocket: #{ex.class}: #{ex.to_s}"
end
retry
end

async.handle_connection socket
Expand Down

0 comments on commit c75c2da

Please sign in to comment.