mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
Changed the IPv6 support detection to try multiple common ports (HTTP/HTTPS) instead of just testing against a DNS port. The function now returns both the IPv6 support status and the successful port that confirmed the connectivity. This makes the IPv6 detection more reliable by not depending solely on DNS port availability. Previously, the function only tested connectivity to a DNS port (53) over IPv6. Now it tries to connect to commonly available ports like HTTP (80) and HTTPS (443) until it finds a working one, making the detection more robust in environments where certain ports might be blocked.