freebsd-ports/www/thttpd/files/extra-patch-log_unknown_headers
Alexey Dokuchaev 9f597aadba Add two more configuration options (defaults were not changed):
- LOG_UNKNOWN: whether to log unknown request headers.  Most sites will not
  want to log them, which will save them a bit of CPU time;

- FLUSH_LOG: whether to fflush() the log file after each request.  If this
  is turned off there's a slight savings in CPU cycles.
2016-07-02 08:54:56 +00:00

12 lines
406 B
Text

--- config.h.orig 2011-09-11 16:41:37 UTC
+++ config.h
@@ -341,9 +342,7 @@
/* CONFIGURE: Whether to log unknown request headers. Most sites will not
** want to log them, which will save them a bit of CPU time.
*/
-#ifdef notdef
#define LOG_UNKNOWN_HEADERS
-#endif
/* CONFIGURE: Whether to fflush() the log file after each request. If
** this is turned off there's a slight savings in CPU cycles.