lib/httpx/io/tcp.rb in httpx-0.13.0 vs lib/httpx/io/tcp.rb in httpx-0.13.1

- old
+ new

@@ -118,9 +118,11 @@ @interests = :w return end transition(:connected) @interests = :w + rescue Errno::EALREADY + @interests = :w end private :try_connect def read(size, buffer) ret = @io.read_nonblock(size, buffer, exception: false)