From 3cb450bdefaa2b1654ca1d9ea39efa59ea28952b Mon Sep 17 00:00:00 2001 From: HoneyryderChuck Date: Sun, 3 Jan 2021 17:58:34 +0000 Subject: [PATCH] save udp io error on close for ruby 2.2 as well --- lib/httpx/io/udp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/httpx/io/udp.rb b/lib/httpx/io/udp.rb index 6ba066e8..52647a84 100644 --- a/lib/httpx/io/udp.rb +++ b/lib/httpx/io/udp.rb @@ -25,7 +25,7 @@ module HTTPX true end - if RUBY_VERSION < "2.2" + if RUBY_VERSION < "2.3" # :nocov: def close @io.close