mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-07-07 00:01:27 -04:00
Compare commits
No commits in common. "e8be009c7ce3c3950fe02ef69e4a59852f835b8d" and "9c765385a5a051408a4c8c38d4d5d1ee41533adb" have entirely different histories.
e8be009c7c
...
9c765385a5
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user