commit 596003d1f2a58f79c874f028b903da37edda7488
parent 4b139515359ebc0e23e1adf8e76c3e12bf3b9faf
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 19 Feb 2026 18:40:52 +0100
fix #11104
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/challenger/challenger-httpd_challenge.c b/src/challenger/challenger-httpd_challenge.c
@@ -331,7 +331,7 @@ send_tan (struct ChallengeContext *bc)
GNUNET_break (0);
mres = reply_error (bc,
"internal-error",
- MHD_HTTP_INTERNAL_SERVER_ERROR,
+ MHD_HTTP_BAD_GATEWAY,
TALER_EC_CHALLENGER_HELPER_EXEC_FAILED,
"pipe");
bc->status = (MHD_YES == mres)
@@ -369,7 +369,7 @@ send_tan (struct ChallengeContext *bc)
GNUNET_DISK_pipe_close (p));
mres = reply_error (bc,
"internal-error",
- MHD_HTTP_INTERNAL_SERVER_ERROR,
+ MHD_HTTP_BAD_GATEWAY,
TALER_EC_CHALLENGER_HELPER_EXEC_FAILED,
"exec");
bc->status = (MHD_YES == mres)
@@ -443,7 +443,7 @@ send_tan (struct ChallengeContext *bc)
GNUNET_break (0);
mres = reply_error (bc,
"internal-error",
- MHD_HTTP_INTERNAL_SERVER_ERROR,
+ MHD_HTTP_BAD_GATEWAY,
TALER_EC_CHALLENGER_HELPER_EXEC_FAILED,
"write");
GNUNET_DISK_file_close (pipe_stdin);
@@ -682,7 +682,7 @@ CH_handler_challenge (struct CH_HandlerContext *hc,
(int) bc->exit_code);
return reply_error (bc,
"internal-error",
- MHD_HTTP_INTERNAL_SERVER_ERROR,
+ MHD_HTTP_BAD_GATEWAY,
TALER_EC_CHALLENGER_HELPER_EXEC_FAILED,
es);
}