]> git.ipfire.org Git - thirdparty/squid.git/commit - src/structs.h
Added support for FreeBSD accept filters
authorwessels <>
Tue, 10 Jul 2007 01:54:13 +0000 (01:54 +0000)
committerwessels <>
Tue, 10 Jul 2007 01:54:13 +0000 (01:54 +0000)
commitcc9f92d4cf0d1a370d2b1ecda6fd20a261c4f6a7
tree2ecb1d6eccc265ee1fbcbd680a70174a4605d383
parent7e0f82f25b2ab713afc72d328975588cac5e2c19
Added support for FreeBSD accept filters

ported from squid-2

Accept filters support will be enabled if the system defines the
SO_ACCEPTFILTER socket option.   A filter will be applied to Squid's
listen socket(s) if set with the 'accept_filter' directive in
squid.conf.

Typical use will be to apply the 'httpready' filter, which requires
loading the 'accf_http' kernel module.  The 'httpready' filter delays
passing new connection descriptors to Squid until a full HTTP request
is received.
src/cf.data.pre
src/comm.cc
src/structs.h