[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-twister] branch master updated: Revert last change.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-twister] branch master updated: Revert last change. |
Date: |
Fri, 07 Jun 2019 15:00:54 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository twister.
The following commit(s) were added to refs/heads/master by this push:
new cf03dc5 Revert last change.
cf03dc5 is described below
commit cf03dc5c417743237edf492521a88eadb11b66ed
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jun 7 14:59:41 2019 +0200
Revert last change.
No need to add any ad-hoc header, since the Twister
echoes all the headers it gets from the client connection
(including Authorization!).
---
configure.ac | 7 -------
src/twister/taler-twister-service.c | 12 ------------
2 files changed, 19 deletions(-)
diff --git a/configure.ac b/configure.ac
index d609540..74d9efc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -424,13 +424,6 @@ AC_ARG_ENABLE([[doc]],
test "x$enable_doc" = "xno" || enable_doc=yes
AM_CONDITIONAL([ENABLE_DOC], [test "x$enable_doc" = "xyes"])
-# Check if --enable-apikey-sandbox was given.
-
-AC_MSG_CHECKING([whether all requests will have a apikey sandbox header])
-AC_ARG_ENABLE([apikey_sandbox],
- [AS_HELP_STRING([--enable-apikey-sandbox], [Adds a "Autorization: ApiKey
sandbox" header to requests])],
- [AC_DEFINE(APIKEY_SANDBOX, , [Adds a "Autorization: ApiKey sandbox" header
to requests])],
- [])
else
diff --git a/src/twister/taler-twister-service.c
b/src/twister/taler-twister-service.c
index c1a445f..1d2143f 100644
--- a/src/twister/taler-twister-service.c
+++ b/src/twister/taler-twister-service.c
@@ -1575,12 +1575,9 @@ create_response (void *cls,
curl_easy_setopt (hr->curl,
CURLOPT_INFILESIZE,
hr->io_len);
-
- /* This works _response_ headers out. */
curl_easy_setopt (hr->curl,
CURLOPT_HEADERFUNCTION,
&curl_check_hdr);
-
curl_easy_setopt (hr->curl,
CURLOPT_HEADERDATA,
hr);
@@ -1727,19 +1724,10 @@ create_response (void *cls,
return MHD_NO;
}
- /**
- * This works _request_ headers out.
- */
MHD_get_connection_values (con,
MHD_HEADER_KIND,
&con_val_iter,
hr);
- #ifdef APIKEY_SANDBOX
- GNUNET_assert
- (NULL != curl_slist_append
- (hr->headers,
- "Authorization: ApiKey sandbox");
- #endif
curl_easy_setopt (hr->curl,
CURLOPT_HTTPHEADER,
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-twister] branch master updated: Revert last change.,
gnunet <=