commit b30be5ae5429f3a464f6dbba830e2f5482f983dc
parent 85d6e14c3707292b1c53efed5a53b50b24fe5cf9
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 12 Sep 2025 15:09:09 +0200
fix #10396
Diffstat:
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_config.c b/src/backend/taler-merchant-httpd_config.c
@@ -43,7 +43,7 @@
* #MERCHANT_PROTOCOL_CURRENT and #MERCHANT_PROTOCOL_AGE in
* merchant_api_config.c!
*/
-#define MERCHANT_PROTOCOL_VERSION "20:0:8"
+#define MERCHANT_PROTOCOL_VERSION "21:0:9"
/**
diff --git a/src/backend/taler-merchant-httpd_post-challenge-ID.c b/src/backend/taler-merchant-httpd_post-challenge-ID.c
@@ -302,13 +302,21 @@ phase_sent (struct MfaState *mfa)
case GNUNET_DB_STATUS_SUCCESS_ONE_RESULT:
break;
}
- respond_to_challenge_with_response (
- mfa,
- MHD_HTTP_NO_CONTENT,
- MHD_create_response_from_data (0,
- NULL,
- MHD_NO,
- MHD_NO));
+ {
+ struct MHD_Response *response;
+
+ response =
+ MHD_create_response_from_data (0,
+ NULL,
+ MHD_NO,
+ MHD_NO);
+ TALER_MHD_add_global_headers (response,
+ false);
+ respond_to_challenge_with_response (
+ mfa,
+ MHD_HTTP_NO_CONTENT,
+ response);
+ }
}