From 0e536e04d958389fa44ba8706e4b49c288f29e43 Mon Sep 17 00:00:00 2001 From: Sydney Date: Sat, 22 Jun 2024 20:34:34 +0200 Subject: [PATCH] Rename http_server response delay to not shadow log timestamp format (#506) --- bin/http_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/http_server.c b/bin/http_server.c index 80d51535f..d468c68b7 100644 --- a/bin/http_server.c +++ b/bin/http_server.c @@ -1777,7 +1777,7 @@ usage (const char *prog) " write; negative means always use remaining file size.\n" " Incompatible with -w.\n" #endif -" -y DELAY Delay response for this many seconds -- use for debugging\n" +" -Y DELAY Delay response for this many seconds -- use for debugging\n" " -Q ALPN Use hq mode; ALPN could be \"hq-29\", for example.\n" , prog); } @@ -1987,7 +1987,7 @@ main (int argc, char **argv) "cannot use -P\n"); exit(EXIT_FAILURE); #endif - case 'y': + case 'Y': server_ctx.delay_resp_sec = atoi(optarg); break; case 'h':