[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: log failures by MHD
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: log failures by MHD_add_response_header |
Date: |
Tue, 04 Jun 2019 00:08:24 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new fc95131d log failures by MHD_add_response_header
fc95131d is described below
commit fc95131ddfe49cacda2b42eaf619a612bd521ca3
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Jun 4 00:08:22 2019 +0200
log failures by MHD_add_response_header
---
src/exchange/taler-exchange-httpd_responses.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_responses.c
b/src/exchange/taler-exchange-httpd_responses.c
index 21394337..234a0107 100644
--- a/src/exchange/taler-exchange-httpd_responses.c
+++ b/src/exchange/taler-exchange-httpd_responses.c
@@ -175,16 +175,17 @@ TEH_RESPONSE_reply_json (struct MHD_Connection
*connection,
return MHD_NO;
}
TEH_RESPONSE_add_global_headers (resp);
- (void) MHD_add_response_header (resp,
- MHD_HTTP_HEADER_CONTENT_TYPE,
- "application/json");
+ GNUNET_break (MHD_YES ==
+ MHD_add_response_header (resp,
+ MHD_HTTP_HEADER_CONTENT_TYPE,
+ "application/json"));
if (MHD_YES == comp)
{
/* Need to indicate to client that body is compressed */
if (MHD_NO ==
- MHD_add_response_header (resp,
- MHD_HTTP_HEADER_CONTENT_ENCODING,
- "deflate"))
+ MHD_add_response_header (resp,
+ MHD_HTTP_HEADER_CONTENT_ENCODING,
+ "deflate"))
{
GNUNET_break (0);
MHD_destroy_response (resp);
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: log failures by MHD_add_response_header,
gnunet <=