Index | Thread | Search

From:
Kirill A. Korinsky <kirill@korins.ky>
Subject:
Re: httpd: zap statistics leftover
To:
Klemens Nanni <kn@openbsd.org>
Cc:
OpenBSD tech <tech@openbsd.org>
Date:
Sun, 27 Sep 2026 13:00:46 +0200

Download raw body.

Thread
On Sun, 27 Sep 2026 11:46:52 +0200,
Klemens Nanni <kn@openbsd.org> wrote:
> 
> Stubbed since import in 2014, last touched in 2016.
> 
> OK?
>

OK kirill@

> 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
> 

-- 
wbr, Kirill