From d91d7773be005d91007a33a833bad0f6d44e9325 Mon Sep 17 00:00:00 2001 From: James R <justsomejames2@gmail.com> Date: Tue, 12 May 2020 18:52:05 -0700 Subject: [PATCH] Use IPv4 for master server connections Your server's address is gathered from the request, so it needs to be IPv4! --- src/hms123311.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hms123311.c b/src/hms123311.c index d643d1ea77..e50d188632 100644 --- a/src/hms123311.c +++ b/src/hms123311.c @@ -144,6 +144,7 @@ HMS_connect (const char *format, ...) curl_easy_setopt(curl, CURLOPT_URL, url); curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); + curl_easy_setopt(curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, HMS_on_read); curl_easy_setopt(curl, CURLOPT_WRITEDATA, buffer); -- GitLab