Andrew Kelley adaef433d2 std.net.HostName.connect: rework to avoid waiting for DNS
The previous implementation would eagerly attempt TCP connection upon
receiving a DNS reply, but it would still wait for all the DNS results
before returning from the function.

This implementation returns immediately upon first successful TCP
connection, canceling not only in-flight TCP connection attempts but
also unfinished DNS queries.
2025-10-29 06:20:49 -07:00
..
2025-10-29 06:20:49 -07:00
2025-10-27 11:19:51 +01:00
2025-10-27 07:35:38 -07:00
2025-10-29 06:20:49 -07:00
2025-07-07 22:43:51 -07:00
2025-09-18 22:39:33 -07:00
2025-10-29 06:20:49 -07:00
2025-10-29 06:20:48 -07:00
2025-09-18 22:39:33 -07:00
2025-09-30 13:44:54 +01:00
2025-10-29 06:20:49 -07:00
2025-09-18 22:39:33 -07:00
2025-08-31 12:49:18 -07:00
2025-08-28 18:30:57 -07:00
2025-10-29 06:20:48 -07:00
2025-10-27 11:19:51 +01:00
2025-10-10 22:47:47 -07:00
2025-10-29 06:20:48 -07:00
2025-09-20 14:34:18 -07:00
2024-08-22 08:44:08 +02:00
2025-10-29 06:20:49 -07:00
2025-10-29 06:20:48 -07:00
2025-10-29 06:20:49 -07:00
2025-09-11 00:18:37 -07:00
2025-07-31 22:10:11 -07:00
2025-10-27 07:35:38 -07:00
2025-10-29 06:20:49 -07:00
2025-08-29 17:14:26 -07:00
2025-08-29 17:14:26 -07:00
2025-09-18 22:39:33 -07:00
2025-09-30 13:44:51 +01:00
2025-10-27 07:35:38 -07:00
2025-08-29 17:14:26 -07:00
2025-10-23 09:27:17 +02:00
2025-10-27 07:35:38 -07:00
2025-10-29 06:20:48 -07:00
2025-10-29 06:20:48 -07:00
2025-07-22 09:41:44 -07:00
2025-10-29 06:20:49 -07:00
2025-10-29 06:20:49 -07:00
2025-08-28 18:30:57 -07:00
2025-08-31 12:49:18 -07:00
2025-07-16 10:27:39 -07:00
2025-10-29 06:20:48 -07:00
2025-08-29 17:14:26 -07:00