fix: don't ignore all but the first resolved socket addresses
All threads resolved!
All threads resolved!
Compare changes
Files
3+ 14
− 10
@@ -169,11 +169,13 @@ impl TcpStream {
@@ -258,6 +260,8 @@ fn nonblocking_socket(kind: libc::c_int) -> io::Result<AutoCloseFd> {
@@ -659,7 +663,7 @@ mod tests {
@@ -843,10 +847,10 @@ mod tests {
@@ -862,9 +866,8 @@ mod tests {
@@ -881,6 +884,7 @@ mod tests {