lib/httpx/plugins/retries.rb in httpx-0.11.3 vs lib/httpx/plugins/retries.rb in httpx-0.12.0

- old
+ new

@@ -15,10 +15,10 @@ RETRYABLE_ERRORS = [IOError, EOFError, Errno::ECONNRESET, Errno::ECONNABORTED, Errno::EPIPE, - (OpenSSL::SSL::SSLError if defined?(OpenSSL)), + (TLSError if defined?(TLSError)), TimeoutError, Parser::Error, Errno::EINVAL, Errno::ETIMEDOUT].freeze