commit 2e1509a881af17604e00c980ecd578e6ea1db3f8
parent 172bccd5fe19f3a25142537301aed3987e89af56
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 2 Aug 2026 23:02:55 +0200
do not die if we could not set headers
Diffstat:
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/backend/paivana-httpd_pay.c b/src/backend/paivana-httpd_pay.c
@@ -286,14 +286,14 @@ order_status_cb (struct PayRequest *ph,
NULL,
MHD_RESPMEM_PERSISTENT);
GNUNET_assert (NULL != resp);
- GNUNET_assert (MHD_YES ==
- MHD_add_response_header (resp,
- MHD_HTTP_HEADER_SET_COOKIE,
- cookie));
- GNUNET_assert (MHD_YES ==
- MHD_add_response_header (resp,
- MHD_HTTP_HEADER_LOCATION,
- ph->website));
+ GNUNET_break (MHD_YES ==
+ MHD_add_response_header (resp,
+ MHD_HTTP_HEADER_SET_COOKIE,
+ cookie));
+ GNUNET_break (MHD_YES ==
+ MHD_add_response_header (resp,
+ MHD_HTTP_HEADER_LOCATION,
+ ph->website));
GNUNET_free (cookie);
TALER_MHD_add_global_headers (resp,
false);