[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: fix #8038
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: fix #8038 |
Date: |
Mon, 08 Jan 2024 16:00:07 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new be1e89fa fix #8038
be1e89fa is described below
commit be1e89fa1ae4c3ee4aad2a0e54ffb6767e3c98c0
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Jan 8 16:00:01 2024 +0100
fix #8038
---
src/lib/merchant_api_curl_defaults.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/lib/merchant_api_curl_defaults.c
b/src/lib/merchant_api_curl_defaults.c
index 34e4aad8..d565e5dd 100644
--- a/src/lib/merchant_api_curl_defaults.c
+++ b/src/lib/merchant_api_curl_defaults.c
@@ -42,6 +42,17 @@ TALER_MERCHANT_curl_easy_get_ (const char *url)
curl_easy_setopt (eh,
CURLOPT_FOLLOWLOCATION,
1L));
+ if (0 == strcasecmp (url,
+ "https://"))
+ GNUNET_assert (CURLE_OK ==
+ curl_easy_setopt (eh,
+ CURLOPT_REDIR_PROTOCOLS_STR,
+ "https"));
+ else
+ GNUNET_assert (CURLE_OK ==
+ curl_easy_setopt (eh,
+ CURLOPT_REDIR_PROTOCOLS_STR,
+ "http,https"));
/* Enable compression (using whatever curl likes), see
https://curl.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html */
GNUNET_break (CURLE_OK ==
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: fix #8038,
gnunet <=