Update net_http.rb (#594)

Add recognition of uncaught `Errno::EPIPE: Broken pipe` error to `NET_HTTP_EXCEPTIONS`
This commit is contained in:
Nick Prokesch 2016-10-27 02:27:08 -07:00 committed by Mattia
parent fb6ef2014a
commit bfc1563c2c

View File

@ -17,6 +17,7 @@ module Faraday
Errno::EHOSTUNREACH,
Errno::EINVAL,
Errno::ENETUNREACH,
Errno::EPIPE,
Net::HTTPBadResponse,
Net::HTTPHeaderSyntaxError,
Net::ProtocolError,