commit afe8b4363367e87778373bb9009d0efd6a07cb9a
parent ae992540454231dbc3ea87e99721e7f7f35a329e
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Thu, 8 Jan 2026 15:15:01 +0100
fix FTBFS on Ubuntu
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/tests/client_server/libtest_convenience_client_request.c b/src/tests/client_server/libtest_convenience_client_request.c
@@ -273,10 +273,17 @@ set_url (CURL *c,
curl_easy_setopt (c,
CURLOPT_CONNECTTIMEOUT_MS,
50)) ||
+#ifdef CURLOPT_SERVER_RESPONSE_TIMEOUT_MS
(CURLE_OK !=
curl_easy_setopt (c,
CURLOPT_SERVER_RESPONSE_TIMEOUT_MS,
250)) ||
+#else
+ (CURLE_OK !=
+ curl_easy_setopt (c,
+ CURLOPT_SERVER_RESPONSE_TIMEOUT,
+ 1)) ||
+#endif
(CURLE_OK !=
curl_easy_setopt (c,
CURLOPT_FRESH_CONNECT,