gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-sync] branch master updated (3255ce6 -> 042ed20)


From: gnunet
Subject: [taler-sync] branch master updated (3255ce6 -> 042ed20)
Date: Mon, 08 Jan 2024 16:01:28 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a change to branch master
in repository sync.

    from 3255ce6  use sane default for DB name
     new d2545a8  fix #8038
     new 042ed20  fix build against 0.9.4 API

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/lib/sync_api_curl_defaults.c  | 15 +++++++++++++++
 src/sync/sync-httpd_backup_post.c |  1 -
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/src/lib/sync_api_curl_defaults.c b/src/lib/sync_api_curl_defaults.c
index 9176135..35c01ba 100644
--- a/src/lib/sync_api_curl_defaults.c
+++ b/src/lib/sync_api_curl_defaults.c
@@ -47,6 +47,21 @@ SYNC_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"));
+  GNUNET_assert (CURLE_OK ==
+                 curl_easy_setopt (eh,
+                                   CURLOPT_MAXREDIRS,
+                                   5L));
   GNUNET_assert (CURLE_OK ==
                  curl_easy_setopt (eh,
                                    CURLOPT_TCP_FASTOPEN,
diff --git a/src/sync/sync-httpd_backup_post.c 
b/src/sync/sync-httpd_backup_post.c
index 92d916d..66d5a48 100644
--- a/src/sync/sync-httpd_backup_post.c
+++ b/src/sync/sync-httpd_backup_post.c
@@ -517,7 +517,6 @@ await_payment (struct BackupContext *bc,
                                                 SH_backend_url,
                                                 order_id,
                                                 NULL /* our payments are NOT 
session-bound */,
-                                                false,
                                                 timeout,
                                                 &check_payment_cb,
                                                 bc);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]