Compare commits

..

No commits in common. "e8be009c7ce3c3950fe02ef69e4a59852f835b8d" and "9c765385a5a051408a4c8c38d4d5d1ee41533adb" have entirely different histories.

2 changed files with 1 additions and 7 deletions

View File

@ -526,8 +526,7 @@ module HTTPX
Errno::EHOSTUNREACH,
Errno::EINVAL,
Errno::ENETUNREACH,
Errno::EPIPE,
Errno::ENOENT => e
Errno::EPIPE => e
# connect errors, exit gracefully
error = ConnectionError.new(e.message)
error.set_backtrace(e.backtrace)

View File

@ -20,11 +20,6 @@ class UnixTest < Minitest::Test
end
end
def test_unix_session_no_path
response = HTTPX.get("http://does-not-matter", transport: "unix", addresses: "blabla.sock")
verify_error_response(response, /No such file or directory/)
end
def test_unix_session_io
on_unix_server(__method__) do |path|
io = UNIXSocket.new(path)