summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi.c b/cgi.c
index ac4a727e..1145a150 100644
--- a/cgi.c
+++ b/cgi.c
@@ -1033,9 +1033,9 @@ main(void)
/* Poor man's ReDoS mitigation. */
- itimer.it_value.tv_sec = 1;
+ itimer.it_value.tv_sec = 2;
itimer.it_value.tv_usec = 0;
- itimer.it_interval.tv_sec = 1;
+ itimer.it_interval.tv_sec = 2;
itimer.it_interval.tv_usec = 0;
if (setitimer(ITIMER_VIRTUAL, &itimer, NULL) == -1) {
fprintf(stderr, "setitimer: %s\n", strerror(errno));