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

Commit

Permalink
Merge pull request #157 from czaks/master
Browse files Browse the repository at this point in the history
HTTPS: ETIMEDOUT, EHOSTUNREACH can happen here as well
  • Loading branch information
tarcieri committed Jul 23, 2014
2 parents 28f7494 + 9863c36 commit 99aa512
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/reel/server/https.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def run
loop do
begin
socket = @server.accept
rescue OpenSSL::SSL::SSLError, Errno::ECONNRESET, Errno::EPIPE => ex
rescue OpenSSL::SSL::SSLError, Errno::ECONNRESET, Errno::EPIPE,
Errno::ETIMEDOUT, Errno::EHOSTUNREACH => ex
Logger.warn "Error accepting SSLSocket: #{ex.class}: #{ex.to_s}"
retry
end
Expand Down

0 comments on commit 99aa512

Please sign in to comment.