Index | Thread | Search

From:
Klemens Nanni <kn@openbsd.org>
Subject:
httpd: zap statistics leftover
To:
OpenBSD tech <tech@openbsd.org>
Date:
Sun, 27 Sep 2026 09:46:52 +0000

Download raw body.

Thread
Stubbed since import in 2014, last touched in 2016.

OK?

Index: server.c
===================================================================
RCS file: /cvs/src/usr.sbin/httpd/server.c,v
diff -u -p -r1.138 server.c
--- server.c	1 Sep 2026 05:22:00 -0000	1.138
+++ server.c	27 Sep 2026 09:42:50 -0000
@@ -406,13 +406,6 @@ server_init(struct privsep *ps, struct p
 
 	if (pledge("stdio rpath inet unix recvfd", NULL) == -1)
 		fatal("pledge");
-
-#if 0
-	/* Schedule statistics timer */
-	evtimer_set(&ps->ps_env->sc_statev, server_statistics, NULL);
-	memcpy(&tv, &ps->ps_env->sc_statinterval, sizeof(tv));
-	evtimer_add(&ps->ps_env->sc_statev, &tv);
-#endif
 }
 
 int