Name
AcceptFilter
Synopsis
AcceptFilter on|off Default: AcceptFilter on server config Compatibility: AcceptFilter is available in Apache 1.3.22 and later
AcceptFilter
controls a BSD-specific filter
optimization. It is compiled in by default — and switched on by
default if your system supports it (setsocketopt(
)
option SO_ACCEPTFILTER
). Currently,
only FreeBSD supports this.
See http://httpd.apache.org/docs/misc/perf-bsd44.html for more information.
The compile time flag AP_ACCEPTFILTER_OFF
can be
used to change the default to off
. httpd
-V
and httpd -L
will show compile-time
defaults and whether or not SO_ACCEPTFILTER
was
defined during the compile.
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.