From: Remi Tricot-Le Breton Date: Mon, 23 Jan 2023 14:57:14 +0000 (+0100) Subject: MINOR: ssl: Remove debug fprintf in 'update ssl ocsp-response' cli command X-Git-Tag: v2.8-dev3~95 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=083b2306995ff81858aa69563493664ded76f5cd;p=thirdparty%2Fhaproxy.git MINOR: ssl: Remove debug fprintf in 'update ssl ocsp-response' cli command A debug fprintf was left behind in the new cli function. --- diff --git a/src/ssl_ocsp.c b/src/ssl_ocsp.c index bda7a1be9e..1271f6e406 100644 --- a/src/ssl_ocsp.c +++ b/src/ssl_ocsp.c @@ -1420,7 +1420,9 @@ static int cli_io_handler_update_ocsp_response(struct appctx *appctx) } } if (!found) { - fprintf(stderr, "Missing 'Content-Type: application/ocsp-response' header\n"); + chunk_printf(&trash, "Missing 'Content-Type: application/ocsp-response' header\n"); + if (applet_putchk(appctx, &trash) == -1) + goto more; goto end; } ctx->flags &= ~HC_F_RES_HDR;