Skip to content

Commit 76db00b

Browse files
committed
Handle Errno::ECONNABORTED on Windows platform
1 parent 265823a commit 76db00b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/net/smtp/test_smtp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ def loop
789789
@sock.puts "502 5.5.2 Error: command not recognized\r\n"
790790
end
791791
end
792-
rescue Errno::ECONNRESET
792+
rescue Errno::ECONNRESET, Errno::ECONNABORTED
793793
nil
794794
end
795795
end

0 commit comments

Comments
 (0)