[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: only return compressed terms if
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: only return compressed terms if we actually have those |
Date: |
Tue, 11 Jun 2024 16:35:18 +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 739e736fe only return compressed terms if we actually have those
739e736fe is described below
commit 739e736fe179fa39844dac6bd8ffa0aef0fc3fa9
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jun 11 16:35:14 2024 +0200
only return compressed terms if we actually have those
---
src/mhd/mhd_legal.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
index a3104f1a0..c283f69e0 100644
--- a/src/mhd/mhd_legal.c
+++ b/src/mhd/mhd_legal.c
@@ -308,8 +308,9 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
/* try to compress the response */
resp = NULL;
- if (MHD_YES ==
- TALER_MHD_can_compress (conn))
+ if ( (MHD_YES ==
+ TALER_MHD_can_compress (conn)) &&
+ (NULL != t->compressed_terms) )
{
resp = MHD_create_response_from_buffer (t->compressed_terms_size,
t->compressed_terms,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: only return compressed terms if we actually have those,
gnunet <=