lib/le/host/http.rb in le-2.3.9 vs lib/le/host/http.rb in le-2.4.0
- old
+ new
@@ -189,10 +189,10 @@
data = @queue.pop
break if data == SHUTDOWN_COMMAND
loop do
begin
@conn.write(data)
- rescue TimeoutError, Errno::EHOSTUNREACH, Errno::ECONNREFUSED, Errno::ECONNRESET, Errno::ETIMEOUT, EOFError
+ rescue TimeoutError, Errno::EHOSTUNREACH, Errno::ECONNREFUSED, Errno::ECONNRESET, Errno::ETIMEDOUT, EOFError
dbg "LE: Connection timeout(#{ $! }), try to reopen connection"
reopenConnection
next
rescue
dbg("LE: Got exception in run loop - #{ $! }")