Index | Thread | Search

From:
Job Snijders <job@bsd.nl>
Subject:
Re: httpd: add cache controls for static files
To:
tech@openbsd.org
Date:
Mon, 11 May 2026 21:47:13 +0000

Download raw body.

Thread
On Sun, May 10, 2026 at 01:39:20PM +0200, Kirill A. Korinsky wrote:
> It widen server flags to 64-bit integers because the 32-bit flag space
> has no room for the cache/no-cache pair.
> 
> Ok?

Please widen the server flags bit field as a separate commit, I think
that'll help improve the readability of these diffs and reduce the
length of the diff'll eventually add the cache control feature. OK job@
for the chunks to widen the field.

I'd like to ponder a bit more whether double negation can be avoided and
will come back to that tomorrow. I need to read up a bit more on HTTP
headers to figure out if we're likely to add more config knobs in that
space and if yes, whether those can be made to fit neatly together.