mirror of
https://github.com/ruby/ruby.git
synced 2026-10-28 16:36:20 +08:00
Darwin 27 answers the retry connect(2) on a refused nonblocking socket with EISCONN, so the retry idiom in Addrinfo#connect_internal returned an unconnected socket. SO_ERROR still holds the real error, so consult it after wait_writable, as wait_connectable() in init.c already does. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>