Squid configuration directive accept_filter
Available in: 3.3 3.2 3.1 2.7 3.HEAD 2.HEAD 3.0
History:
- Changes in 2.7 accept_filter
-
optimization to avoid waking Squid up until a request has been received
- Changes in 3.0 accept_filter
-
The name of an accept(2) filter to install on Squid's listen socket(s). This feature is perhaps specific to FreeBSD and requires support in the kernel. The 'httpready' filter delays delivering new connections to Squid until a full HTTP request has been received. See the accf_http(9) man page.
Configuration Details:
Option Name: | accept_filter |
---|---|
Replaces: | |
Requires: | |
Default Value: | none |
Suggested Config: |
# FreeBSD # Linux |
FreeBSD: The name of an accept(2) filter to install on Squid's listen socket(s). This feature is perhaps specific to FreeBSD and requires support in the kernel. The 'httpready' filter delays delivering new connections to Squid until a full HTTP request has been received. See the accf_http(9) man page for details. The 'dataready' filter delays delivering new connections to Squid until there is some data to process. See the accf_dataready(9) man page for details. Linux: The 'data' filter delays delivering of new connections to Squid until there is some data to process by TCP_ACCEPT_DEFER. You may optionally specify a number of seconds to wait by 'data=N' where N is the number of seconds. Defaults to 30 if not specified. See the tcp(7) man page for details. EXAMPLE: accept_filter httpready accept_filter data |
|
Search
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Help Out or Donate
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
Miscellaneous
- Developer Resources
- Related Writings
- Related Software:
- Squid Artwork