1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-25 22:56:14 +00:00

Add missing GZIP_STATIC flag to SRVFLAG_BITS macro

GZIP_STATIC flag at position \33 was missing from the debug string.

Also correct the truncated PATH_REWRITE/NO_PATH_REWRITE flag names.
The PATH_REWRITE and NO_PATH_REWRITE flag names were truncated to
PATH and NO_PATH in the SRVFLAG_BITS string definition.

OK kirill@ deraadt@
This commit is contained in:
rsadowski
2025-11-27 15:22:45 +00:00
parent b89c80c7e6
commit 076e7c3b07

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: httpd.h,v 1.165 2024/10/08 05:28:11 jsg Exp $ */
/* $OpenBSD: httpd.h,v 1.166 2025/11/27 15:22:45 rsadowski Exp $ */
/*
* Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org>
@@ -397,8 +397,9 @@ SPLAY_HEAD(client_tree, client);
"\05ROOT\06LOCATION\07FCGI\10NO_FCGI\11LOG\12NO_LOG\13ERRDOCS" \
"\14SYSLOG\15NO_SYSLOG\16TLS\17ACCESS_LOG\20ERROR_LOG" \
"\21AUTH\22NO_AUTH\23BLOCK\24NO_BLOCK\25LOCATION_MATCH" \
"\26SERVER_MATCH\27SERVER_HSTS\30DEFAULT_TYPE\31PATH\32NO_PATH" \
"\37LOCATION_FOUND\40LOCATION_NOT_FOUND"
"\26SERVER_MATCH\27SERVER_HSTS\30DEFAULT_TYPE\31PATH_REWRITE" \
"\32NO_PATH_REWRITE\33GZIP_STATIC\37LOCATION_FOUND" \
"\40LOCATION_NOT_FOUND"
#define TCPFLAG_NODELAY 0x01
#define TCPFLAG_NNODELAY 0x02