Compare commits

...

1 commit

Author SHA1 Message Date
Sydney
0e536e04d9
Rename http_server response delay to not shadow log timestamp format (#506) 2024-06-22 14:34:34 -04:00

View file

@ -1777,7 +1777,7 @@ usage (const char *prog)
" write; negative means always use remaining file size.\n" " write; negative means always use remaining file size.\n"
" Incompatible with -w.\n" " Incompatible with -w.\n"
#endif #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" " -Q ALPN Use hq mode; ALPN could be \"hq-29\", for example.\n"
, prog); , prog);
} }
@ -1987,7 +1987,7 @@ main (int argc, char **argv)
"cannot use -P\n"); "cannot use -P\n");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
#endif #endif
case 'y': case 'Y':
server_ctx.delay_resp_sec = atoi(optarg); server_ctx.delay_resp_sec = atoi(optarg);
break; break;
case 'h': case 'h':