projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
305a4f3
)
MINOR: ssl: Remove debug fprintf in 'update ssl ocsp-response' cli command
author
Remi Tricot-Le Breton
<rlebreton@haproxy.com>
Mon, 23 Jan 2023 14:57:14 +0000
(15:57 +0100)
committer
William Lallemand
<wlallemand@haproxy.org>
Wed, 25 Jan 2023 10:51:39 +0000
(11:51 +0100)
A debug fprintf was left behind in the new cli function.
src/ssl_ocsp.c
patch
|
blob
|
history
diff --git
a/src/ssl_ocsp.c
b/src/ssl_ocsp.c
index
bda7a1b
..
1271f6e
100644
(file)
--- 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;